Finding your way around
The GeoAdmin API is an extension of OpenLayers 3 which adds only a few classes and configuration files to OpenLayers 3, to make it easier to use with the swiss grid and the layers provided by the swiss confederation and cantons.
In general every use of OpenLayers starts by initializing a map, then adding the required layers. Controls and interactions can be added to change the behavior of the map.
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.Tile
|Controls||Interactions||Sources and formats|
|Map default 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
|Projections||2-way bindings||Other components|
A DOM Input class is available to bind Object properties to HTML Input elements.
See CONTRIBUTING.md for instructions on building and testing OpenLayers. The file does also describe how to commit your changes to OpenLayers or GeoAdmin API. When making a Pull Request, be attentive that the appropriate project (OpenLayers 3 or GeoAdmin API) is used.