Google Maps examples

From Maps for MediaWiki
Revision as of 23:01, 9 July 2023 by Jeroen De Dauw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Google maps can be customized using various parameters.

This page lists examples. For an overview of available parameters and how to use them, see Customizing Google Maps.

Markers, Polygons, Lines, etc

See Displaying Google Maps

KML

{{#display_map:center=Berlin
 | kml=BerlinDistricts.kml
 | zoom=9
}}
Loading map...

GKML

{{#display_map:center=Europe
 | gkml=https://raruto.github.io/leaflet-kmz/examples/capitals.kmz
 | zoom=3
}}
Loading map...

Map types

{{#display_map:center=Ben Nevis
 | types=satellite, terrain
 | type=terrain
 | zoom=9
}}
Loading map...

Copy coords

Right-click on the map to copy the coordinates.

{{#google_maps:Hong Kong
 |copycoords=yes
 |zoom=11
}}
Loading map...

Inline labels

{{#google_maps:
Berlin~Popup title~Popup text~~Group~Berlin;
London~Popup title~Popup text~~Group~London (inline label);
}}
Loading map...