Basic Concepts
OpenLayers The core component of OpenLayers is the map ( ol/Map). It is rendered to a target container (e.g. a div element on the web page that contains the map). All map properties can either be configured at construction time, or by using setter methods, e.g. setTarget().
https://openlayers.org/en/latest/doc/tutorials/concepts.html