Map | View | Layers |
---|---|---|
A map is made of layers, a view to visualize them, interactions to modify map content and controls with UI components. OverviewCreation Events |
The view manages the visual parameters of the map view, like resolution or rotation. ol.View with center, projection, resolution and rotation |
Layers are lightweight containers that get their data from sources. ol.layer.Tileol.layer.Image ol.layer.Vector |
Controls | Interactions | Sources and formats |
Map default controls All controls |
Map default interactions Interactions for vector features All interactions |
Tile sources for ol.layer.Tile
Image sources for ol.layer.Image Vector sources for ol.layer.Vector Formats for reading/writing vector data ol.format.WMSCapabilities |
Projections | 2-way bindings | Other components |
All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform, use ol.proj.transform() and ol.proj.transformExtent(). ol.proj |
Objects can be kept in sync using the bindTo() method. A DOM Input class is available to bind Object properties to HTML Input elements. |
ol.DeviceOrientation ol.Geolocation ol.Overlay ol.FeatureOverlay |