Template:Mapmask/doc

Function
This template overlays a dark polygonal mask on a dynamic map so that the subject area is more clearly delineated. Mask display can be turned on or off by toggling the "GPX tracks / Map mask" layer control.

Usage
See How to use dynamic maps for instructions on creating GPX tracks for use with this template.

The points of the mask polygon are marked with


 * Required parameters:
 * pairs of geographical co-ordinates for each corner of the masking polygon.


 * Example:


 * A working example:
 * View full screen dynamic map for Brooklyn/Downtown

Useful tools

 * Route Editor -- Online editor to create coordinates for Mapmask as a GPX track file.
 * OSM Route Manager -- Exporting OpenStreetMap routes as a GPX route file.
 * GPX Optimizer -- Simplifier/Optimizer for GPX files.
 * Gpx2mapmask -- Converting GPX track or route file to Mapmask format.
 * Mapmask ↔ GeoJSON Converter -- Convert a GeoJSON polygon into Mapmask format.

Nothing is shown
"" ""

tag=mapframe
Show highlighted, red-colored area.

Debuging
This will show data as pretty-printed JSON using the syntaxhighlight extension