Module:Location map/data/Mexico Zacatecas

< Module:Location map
Revision as of 02:07, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

File:Zacatecas en México.svg
Location of Zacatecas in Mexico

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

Map definition

  • name = Zacatecas
    Name used in the default map caption
  • bottom = 21
    Latitude at bottom edge of map, in decimal degrees
  • left = -104.4
    Longitude at left edge of map, in decimal degrees
  • right = -100.69
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 3.71 degrees.

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

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

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

Examples using location map templates

Location map

Template:Location map

{{Location map | Mexico Zacatecas
| width    = 250
| lat_deg  = 22.7736
| lon_deg  = -102.5736
| label    = Zacatecas
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | Mexico Zacatecas
| width    = 250
| caption  = Locations in Zacatecas
| lat1_deg = 24.7
| lon1_deg = -101.417
| label1   = [[Concepción del Oro]]
| lat2_deg = 21.223
| lon2_deg = -103.607
| label2   = [[Huitzila, Zacatecas|Huitzila]]
| lat3_deg = 23.476
| lon3_deg = -103.881
| label3   = [[Chalchihuites]]
| lat4_deg = 22.297
| lon4_deg = -101.575
| label4   = [[Pinos, Zacatecas|Pinos]]
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Zacatecas',
	top = 25.19,
	bottom = 21.00,
	left = -104.40,
	right = -100.69,
	image = 'Mexico Zacatecas location map.svg'
}