Google Maps
<googlemap> embeds an interactive map centered on a place search:
<googlemap place="Colosseum, Rome" />Attributes
All attribute values must be in double quotes.
| Attribute | Meaning | Default |
|---|---|---|
place | The place to show — anything you’d type into Google Maps search. Required. | — |
width | Width in pixels, clamped to 200–1200 | 600 |
height | Height in pixels, clamped to 150–900 | 450 |
maptype | roadmap or satellite — nothing else | roadmap |
region | Two-letter region code biasing the search, e.g. region="KR" | — |
The map scales down responsively; width/height set its maximum size and
aspect ratio.
<googlemap place="Jeju Island" maptype="satellite" width="800" height="500" />The stock template {{Googlemap|Colosseum, Rome}} is shorthand for the plain
form.
When nothing shows up
The tag renders nothing at all (no error box) when it can’t produce a map. The usual causes, in order of likelihood:
- Missing
place, or single-quoted attribute values. - A
maptypeother thanroadmap/satellite, or aregionthat isn’t exactly two letters. - The wiki’s operator hasn’t configured a Google Maps key — embedding is a per-wiki operator setting.
For operators: set GOOGLE_MAPS_API_KEY in the engine’s environment (a
Maps Embed API key). The key appears in page HTML by design — restrict it
to your wiki’s domain in the Google Cloud console.