መለጠፊያ:Location map/doc
From Wikipedia, the free encyclopedia
This template displays a location map as a composite image of an existing map plus a marker and an optional label superimposed onto it. Maps used here are not just images alone. Instead, maps are selected by mapper-template suffixes "XX" (to use template "Location map XX"). Maps can be defined either as squared for equirectangular projections or else, have curved latitude or longitude lines, to skew the location of the marker symbol, as in {{Location map Africa}}. That mapper for Africa uses sine/cosine factors to shift the marker x/y to fit the curved lines. Each mapper template sets its own map borders and decides if skewing x/y for curved lines. See the technical design below, under "Design issues".
This is a documentation subpage for መለጠፊያ:Location map. It contains usage information, categories, interlanguage links and other content that is not part of the original መለጠፊያ page. |
Note:
- Setting caption=xxxxx also frames the map, while an empty "caption=" leaves the map unframed.
- The coordinates are not checked. If the coordinates fall outside the map, then the marker will try to appear outside the map-image, overlaying the page text.
- For a map with no marker, set marksize=1.
- Do not use "px". Using width=200px causes maps to cover a page, use: width=200 (no "px").
- To create a map with more than one marker, refer below to: See also.
- To display a map that uses a non-equirectangular projection (i.e. has curved latitude or longitude lines), use skew factors for x/y as in {{Location_map Africa}} or try Template:Location map skew.