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

MyWikiBiz, Author Your Legacy — Sunday December 22, 2024
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

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.

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

Template:Location map

{{Location map | Mexico Nuevo León
| width    = 250
| lat_deg  = 25.667
| lon_deg  = -100.3
| label    = Monterrey
}}

Template:Clear

Location map many, using AlternativeMap

Template:Location map many

{{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]]
}}

Template:Clear

Template:Clear

See also

Location map templates

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'
}