Skip to content

Javascript API

The GeoAdmin Javascript API ("JS API") extends OpenLayers with Swiss specific configurations and layers.

For more details, see the GeoAdmin JS API specs.

WARNING

The GeoAdmin JS API is about to be decommissioned and is not updated anymore. The default version is based on OpenLayers 3.6.0 from 2015. We strongly recommend using a different web mapping framework implementing the OGC WMTS, like Leaflet or plain OpenLayers.

Available Versions

The version of the GeoAdmin JS API corresponds to the version of OpenLayers it extends. The following versions of the GeoAdmin JS API are available: