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 examples for basic maps rendered with Google Maps which will remain static, i.e. it will not be interactive and contain any interaction controls. However the user will still be able to click on markers and other overlays.

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

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

parser function[edit]

static=no (default)[edit]

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

static=no[edit]

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

static=yes[edit]

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

parser tag[edit]

static=no (default)[edit]

<display_map service="leaflet">
Berlin
</display_map>
Loading map...

static=no[edit]

<display_map service="leaflet" static="no">
Berlin
</display_map>
Loading map...

static=yes[edit]

<display_map service="leaflet" static="yes">
Berlin
</display_map>
Loading map...