Maps examples/Leaflet with a static map

From semantic-mediawiki.org
< Category:Maps examples
Maps examplesMaps examples/Leaflet with a static map
Table of Contents

This page shows how you can create static Leaflet maps with the Maps extension. Static maps do not show any controls and are not interactive. Markers and other overlays can still be clicked.

option / value
static / "no" (default) or "yes"

If the static option is not provided "no" will automatically be assumed.

static=yes[edit]

{{#display_map:
 Berlin
 |static=yes
 |service=leaflet
}}
Loading map...

static=yes with clickable marker[edit]

{{#display_map:
 Berlin~[[Berlin]] is the capital of Germany
 |static=yes
 |service=leaflet
}}
Loading map...

static=no (default)[edit]

{{#display_map:
 Berlin
 |static=no
 |service=leaflet
}}
Loading map...