Πρότυπο:Mapmask/τεκμηρίωση

Από Βικιταξίδια


Λειτουργία

Αυτό το πρότυπο επικαλύπτει μια σκοτεινή πολυγωνική μάσκα σε ένα δυναμικό χάρτη, έτσι ώστε η θεματική περιοχή να είναι πιο σαφής. Η μάσκα μπορεί να ενεργοποιηθεί ή να απενεργοποιηθεί από την εναλλαγή του "GPX tracks / Map mask" layer.

Usage

The points of the mask polygon are marked with {{Mapmask|lat,long|lat,long| ... |lat,long}}

  • Required parameters:
|lat,long pairs of geographical co-ordinates for each corner of the masking polygon.
  • Example:
{{MapMask|43.28915,-78.19371|43.28928,-78.18969|43.28828,-78.18745|43.28543,-78.18724|43.28555,-78.19381}}
  • 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.

See also

  • {{mapframe}} - Template used to add a dynamic map to an article.