Jump to content

Module:Location map/data/Mexico Nuevo León/doc

From Wikipedia, the free encyclopedia
Location map of Nuevo León
name Nuevo León
border
coordinates
28
-102 ←↕→ -97.7
23
map center 25°30′N 99°51′W / 25.5°N 99.85°W / 25.5; -99.85
image Mexico Nuevo Leon location map.svg
image2 Mexico Nuevo Leon location map (urban areas).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.

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
  • 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

Monterrey is located in Nuevo León
Monterrey
Monterrey
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

Creating new map definitions