Module:Location map/data/Greater Mexico City

From Simple English Wikipedia, the free encyclopedia
Jump to navigation Jump to search


Location map of Greater Mexico City
name Greater Mexico City
border
coordinates
19.7305
-99.3411 ←↕→ -98.8193
19.236
map center 19°29′00″N 99°04′49″W / 19.48325°N 99.0802°W / 19.48325; -99.0802
image Greater Mexico City.JPG
Greater Mexico City.JPG
image1 Greater Mexico City.JPG
Greater Mexico City.JPG


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

Map definition

  • name = Greater Mexico City
    Name used in the default map caption
  • bottom = 19.236
    Latitude at bottom edge of map, in decimal degrees
  • left = -99.3411
    Longitude at left edge of map, in decimal degrees
  • right = -98.8193
    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 image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Greater Mexico City',
	top = 19.7305,
	bottom = 19.2360,
	left = -99.3411,
	right = -98.8193,
	image = 'Greater Mexico City.JPG',
	image1 = 'Greater Mexico City.JPG'
}