Module:Location map/data/Mexico Nuevo León
< Module:Location map
Jump to navigation
Jump to search
Revision as of 17:00, 19 May 2018 by blackwiki>Zyxw (create map definition for File:Mexico Nuevo Leon location map.svg so locations in Nuevo León can be displayed with Module:Location map and Template:Location map)
| name | Nuevo León | |||
|---|---|---|---|---|
| border coordinates | ||||
| 28 | ||||
| -102 | ←↕→ | -97.7 | ||
| 23 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Mexico Nuevo Leon location map.svg
| |||
File:Nuevo León en México.svg
Location of Nuevo León in Mexico
Module:Location map/data/Mexico Nuevo León is a location map definition used to overlay markers and labels on an equirectangular projection map of Nuevo León. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "Mexico Nuevo León":
{{Location map | Mexico Nuevo León | ...}}{{Location map many | Mexico Nuevo León | ...}}{{Location map+ | Mexico Nuevo León | ...}}{{Location map~ | Mexico Nuevo León | ...}}
Map definition
name = Nuevo León- Name used in the default map caption
image = Mexico Nuevo Leon location map.svg- The default map image, without "Image:" or "File:"
top = 28- Latitude at top edge of map, in decimal degrees
bottom = 23- Latitude at bottom edge of map, in decimal degrees
left = -102- Longitude at left edge of map, in decimal degrees
right = -97.7- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 4.3 degrees.
- At an image width of 200 pixels, that is 0.0215 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0043 degrees per pixel.
Latitude: from North to South this map definition covers 5 degrees.
- At an image height of 200 pixels, that is 0.025 degrees per pixel.
- At an image height of 1000 pixels, that is 0.005 degrees per pixel.
Examples using location map templates
Location map, using default map
Monterrey (Nuevo León)
{{Location map | Mexico Nuevo León
| width = 250
| lat_deg = 25.667
| lon_deg = -100.3
| label = Monterrey
}}
Location map many, using AlternativeMap
{{Location map many | Mexico Nuevo León
| AlternativeMap = Mexico Nuevo Leon location map (urban areas).svg
| width = 250
| caption = Locations in Nuevo León
| lat1_deg = 27.703
| lon1_deg = -99.759
| label1 = [[Colombia, Nuevo León|Colombia]]
| lat2_deg = 23.422
| lon2_deg = -100.117
| label2 = [[Mier y Noriega]]
| lat3_deg = 27.017
| lon3_deg = -100.517
| label3 = [[Lampazos, Nuevo León|Lampazos]]
| lat4_deg = 25.433
| lon4_deg = -100.133
| label4 = [[Santiago, Nuevo León|Santiago]]
| lat5_deg = 26.05
| lon5_deg = -99.183
| label5 = [[Los Aldamas]]
}}
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 = 'Nuevo León',
top = 28.0,
bottom = 23.0,
left = -102.0,
right = -97.7,
image = 'Mexico Nuevo Leon location map.svg'
}