Maps examples/OpenLayers with layer maps

From semantic-mediawiki.org
< Category:Maps examples
Maps examplesMaps examples/OpenLayers with layer maps
Starting December 16, 2018 with the release of version 7.0.0 of extension "Maps"Allows embedding of dynamic maps, geocoding and geospatial operations the support of the "OpenLayers" service was dropped. Use the "Leaflet" service instead. See "Remove OpenLayers service."


Table of Contents

This page shows examples for basic maps rendered with different map layers provided by OpenLayers.

option / value
layers / "osm-mapnik, osm-cyclemap" (default) or either "osm-mapnik" or "osm-cyclemap" (also reversed)

If the layers option is not provided "osm-mapnik, osm-cyclemap" will automatically be assumed. Note that the layer mentioned first will be shown first. The user will see a layerswitcher ("+") at the top right side of the map allowing to disable or switch the visible layers.

default layers - osm-mapnik, osm-cyclemap[edit]

{{#display_map: Berlin, Germany
 |service=openlayers
}}
Loading map...
{{#display_map: Berlin, Germany
 |service=openlayers
 |layers=osm-mapnik, osm-cyclemap
}}
Loading map...

default layers - osm-cyclemap, osm-mapnik (reversed view)[edit]

{{#display_map: Berlin, Germany
 |service=openlayers
 |layers=osm-cyclemap, osm-mapnik
}}
Loading map...

layer - osm-cyclemap or osm-mapnik (exclusive view)[edit]

{{#display_map: Berlin, Germany
 |service=openlayers
 |layers=osm-cyclemap
}}
Loading map...