Module:Location map/data/Mexico Nuevo León
Lua error: expandTemplate: template "coord" does not exist.
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.
Usage
These definitions are used by the following templates when invoked with parameter "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:"
image2 = Mexico Nuevo Leon location map (urban areas).svg
- Alternative map image which can be displayed via the AlternativeMap parameter
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
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 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
{{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', -- image1 reserved for relief map image2 = 'Mexico Nuevo Leon location map (urban areas).svg' }