Module:Location map/data/Mexico State of Mexico

From Simple English Wikipedia, the free encyclopedia
Location map of State of Mexico
name State of Mexico
border
coordinates
20.37
-100.68 ←↕→ -98.44
18.26
map center 19°18′54″N 99°33′36″W / 19.315°N 99.56°W / 19.315; -99.56
image Mexico Estado de Mexico location map.svg
image2 Mexico Estado de Mexico location map (urban areas).svg


Module:Location map/data/Mexico State of Mexico is a location map definition used to overlay markers and labels on an equirectangular projection map of State of Mexico. 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 State of Mexico":

Map definition

  • name = State of Mexico
    Name used in the default map caption
  • bottom = 18.26
    Latitude at bottom edge of map, in decimal degrees
  • left = -100.68
    Longitude at left edge of map, in decimal degrees
  • right = -98.44
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image2 can be used with the AlternativeMap parameter. Examples may be found below or in the following:

Precision

Longitude: from West to East this map definition covers 2.24 degrees.

  • At an image width of 200 pixels, that is 0.0112 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0022 degrees per pixel.

Latitude: from North to South this map definition covers 2.11 degrees.

  • At an image height of 200 pixels, that is 0.0106 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0021 degrees per pixel.


See also

Location map templates

Creating new map definitions


return {
	name = 'State of Mexico',
	top = 20.37,
	bottom = 18.26,
	left = -100.68,
	right = -98.44,
	image = 'Mexico Estado de Mexico location map.svg',
	-- image1 reserved for relief map
	image2 = 'Mexico Estado de Mexico location map (urban areas).svg'
}