Module:Location map/data/Mexico Mexico City

From imedwiki
Jump to navigation Jump to search


Location map of Mexico City
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 / 19.4164; -99.12965
image Location map Mexico City.png
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":

Map definition

  • name = Mexico City
    Name used in the default map caption
  • 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

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'
}