Files
openlayers/apidoc/index.md
2014-06-27 09:59:39 -04:00

2.5 KiB

MapViewLayers

A [map](ol.Map.html) is made of [layers](ol.layer.html), a [view](ol.View.html) to visualize them, [interactions](ol.interaction.html) to modify map content and [controls](ol.control.html) with UI components.

[Overview](ol.Map.html)
[Creation](ol.Map.html#Map)
[Events](ol.MapBrowserEvent.html)

The view manages the visual parameters of the map view, like resolution or rotation.

[ol.View](ol.View.html) with center, projection, resolution and rotation

Layers are lightweight containers that get their data from [sources](ol.source.html).

[ol.layer.Tile](ol.layer.Tile.html)
[ol.layer.Image](ol.layer.Image.html)
[ol.layer.Vector](ol.layer.Vector.html)
ControlsInteractionsSources and formats
[Map default controls](ol.control.html#defaults)
[All controls](ol.control.html)
[Map default interactions](ol.interaction.html#defaults)
Interactions for [vector features](ol.Feature.html)
  • [ol.interaction.Select](ol.interaction.Select.html)
  • [ol.interaction.Draw](ol.interaction.Draw.html)
  • [ol.interaction.Modify](ol.interaction.Modify.html)
[All interactions](ol.interaction.html)
[Tile sources](ol.source.Tile.html) for [ol.layer.Tile](ol.layer.Tile.html)
[Image sources](ol.source.Image.html) for [ol.layer.Image](ol.layer.Image.html)
[Vector sources](ol.source.Vector.html) for [ol.layer.Vector](ol.layer.Vector.html)
[Formats](ol.format.Feature.html) for reading/writing vector data
[ol.format.WMSCapabilities](ol.format.WMSCapabilities.html)
Projections2-way bindingsOther components

All coordinates and extents need to be provided in view projection (default: [EPSG:3857](ol.proj.EPSG3857.html)). To transform, use [ol.proj.transform()](ol.proj.html#transform) and [ol.extent.applyTransform()](ol.extent.html#applyTransform).

[ol.proj](ol.proj.html)

[Objects](ol.Object.html) can be kept in sync using the [bindTo()](ol.Object.html#bindTo) method.

A [DOM Input](ol.dom.Input.html) class is available to bind Object properties to HTML Input elements.

[ol.DeviceOrientation](ol.DeviceOrientation.html)
[ol.Geolocation](ol.Geolocation.html)
[ol.Overlay](ol.Overlay.html)
[ol.FeatureOverlay](ol.FeatureOverlay.html)