Google Maps examples: Difference between revisions

From Maps for MediaWiki
mNo edit summary
mNo edit summary
Line 27: Line 27:


<pre>
<pre>
{{#display_map:center=derbyshire
{{#display_map:center=Europe
  | gkml=https://raruto.github.io/leaflet-kmz/examples/capitals.kmz
  | gkml=https://raruto.github.io/leaflet-kmz/examples/capitals.kmz
| center=Europe
}}
}}
</pre>
</pre>


{{#display_map:center=derbyshire
{{#display_map:center=Europe
  | service=google
  | service=google
  | height=300px
  | height=300px
  | scrollzoom=off
  | scrollzoom=off
  | gkml=https://raruto.github.io/leaflet-kmz/examples/capitals.kmz
  | gkml=https://raruto.github.io/leaflet-kmz/examples/capitals.kmz
| center=Europe
}}
}}



Revision as of 18:51, 8 February 2022

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
}}
Loading map...

Map types

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