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."
This page shows examples for basic maps rendered with OpenLayers with a changed zoom.
- options / values
- zoom / 13 (default)
- minzoom / no value
- maxzoom / no value
If these options are not provided the default values will automatically be assumed. Either one, two or all of the options may be changed.
{{#display_map: new york city
|service=openlayers
|minzoom=4
|zoom=6
|maxzoom=8
}}
Loading map...
{"minzoom":4,"maxzoom":8,"mappingservice":"leaflet","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":6,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"","title":"","link":"","lat":40.7127281,"lon":-74.0060152,"icon":""}],"imageoverlays":null}
<display_map minzoom="4" zoom="6" maxzoom="8" service="openlayers">
new york city
</display_map>
Loading map...
{"minzoom":4,"maxzoom":8,"mappingservice":"leaflet","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":6,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"","title":"","link":"","lat":40.7127281,"lon":-74.0060152,"icon":""}],"imageoverlays":null}