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 Google Maps showing serveral points.
- Using address notation.
{{#display_map:
Moscow, Russia;
New York;
Brussels
|service=openlayers
}}
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"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":55.625578,"lon":37.6063916,"icon":""},{"text":"","title":"","link":"","lat":40.7127281,"lon":-74.0060152,"icon":""},{"text":"","title":"","link":"","lat":50.8465573,"lon":4.351697,"icon":""}],"imageoverlays":null}
<display_map service="openlayers">
Moscow, Russia;
New York;
Brussels
</display_map>
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"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":55.625578,"lon":37.6063916,"icon":""},{"text":"","title":"","link":"","lat":40.7127281,"lon":-74.0060152,"icon":""},{"text":"","title":"","link":"","lat":50.8465573,"lon":4.351697,"icon":""}],"imageoverlays":null}
- Using different notations
{{#display_map:
55°45′06″N 37°37′04″E;
New York;
40.446195, -79.948862
|service=openlayers
}}
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"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":55.751666666667,"lon":37.617777777778,"icon":""},{"text":"","title":"","link":"","lat":40.7127281,"lon":-74.0060152,"icon":""},{"text":"","title":"","link":"","lat":40.446195,"lon":-79.948862,"icon":""}],"imageoverlays":null}
Note: Mixing different notations within the tag is however not possible:
<display_map service="openlayers">
55°45′06″N 37°37′04″E;
New York;
40.446195, -79.948862
</display_map>