Template:InteractiveMap

This template embeds an interactive, deep-zoom map with clickable pins.

Usage

{{InteractiveMap
| dzi      = https://your-host.example.com/map.dzi
| markers  = Project:World map/markers
| height   = 700
}}

Place it on its own line.

Parameters

Parameter Required Description
dzi yes URL of your .dzi file (the file produced alongside the _files tile folder).
markers no A wiki page that contains the pin JSON (e.g. Project:World map/markers), or a direct URL to a .json file.
height no Viewer height in pixels. Default 600.
coordhelper no Set to 1 to show a helper box with the live zoom level and click-to-copy coordinates, for finding the x/y and zoom thresholds of new markers.
cors no Set to 1 only if your tiles are served from a different domain than the wiki.

The JavaScript and CSS that power this template live in MediaWiki:Common.js and MediaWiki:Common.css.