Module:Location map/data/Mexico Mexico City
From HandWiki
< Module:Location map
Revision as of 05:37, 19 April 2018 by imported>Frietjes (created from Template:Location map Mexico Mexico City, earlier edit history will be saved in Module:Location map/data/Mexico Mexico City/doc)
name | Mexico City | |||
---|---|---|---|---|
border coordinates | ||||
19.5113 | ||||
-99.2381 | ←↕→ | -99.0212 | ||
19.3215 | ||||
map center | [ ⚑ ] 19°24′59″N 99°07′47″W / 19.4164°N 99.12965°W | |||
image | Location map Mexico City.png
| |||
Module:Location map/data/Mexico Mexico City is a location map definition used to overlay markers and labels on an equirectangular projection map of Mexico City. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Usage
These definitions are used by the following templates when invoked with parameter "Mexico Mexico City":
{{Location map|Mexico Mexico City |...}}
{{Location map many|Mexico Mexico City |...}}
{{Location map+|Mexico Mexico City |...}}
{{Location map~|Mexico Mexico City |...}}
Map definition
name = Mexico City
- Name used in the default map caption
image = Location map Mexico City.png
- The default map image, without "Image:" or "File:"
top = 19.5113
- Latitude at top edge of map, in decimal degrees
bottom = 19.3215
- Latitude at bottom edge of map, in decimal degrees
left = -99.2381
- Longitude at left edge of map, in decimal degrees
right = -99.0212
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.2169 degrees.
- At an image width of 200 pixels, that is 0.0011 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0002 degrees per pixel.
Latitude: from North to South this map definition covers 0.1898 degrees.
- At an image height of 200 pixels, that is 0.0009 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0002 degrees per pixel.
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return { name = 'Mexico City', top = 19.5113, bottom = 19.3215, left = -99.2381, right = -99.0212, image = 'Location map Mexico City.png' }