Module:Location map/data/USA New Mexico

From Simple English Wikipedia, the free encyclopedia


Location map of New Mexico
name New Mexico
border
coordinates
37.2
-109.3 ←↕→ -102.8
31.1
map center 34°09′N 106°03′W / 34.15°N 106.05°W / 34.15; -106.05
image USA New Mexico location map.svg
image1 USA New Mexico relief location map.svg


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

Map definition

  • name = New Mexico
    Name used in the default map caption
  • bottom = 31.1
    Latitude at bottom edge of map, in decimal degrees
  • left = -109.3
    Longitude at left edge of map, in decimal degrees
  • right = -102.8
    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 6.5 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'New Mexico',
	top = 37.2,
	bottom = 31.1,
	left = -109.3,
	right = -102.8,
	image = 'USA New Mexico location map.svg',
	image1 = 'USA New Mexico relief location map.svg'
}