Πρότυπο:Mapmask
Εμφάνιση
This documentation is transcluded from Πρότυπο:Mapmask/τεκμηρίωση. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Λειτουργία
Αυτό το πρότυπο επικαλύπτει μια σκοτεινή πολυγωνική μάσκα σε ένα δυναμικό χάρτη, έτσι ώστε η θεματική περιοχή να είναι πιο σαφής. Η μάσκα μπορεί να ενεργοποιηθεί ή να απενεργοποιηθεί από την εναλλαγή του "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:
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.