Module:Location map/data/Mexico Sinaloa/doc

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

This is the documentation page for Module:Location map/data/Mexico Sinaloa

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

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

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

Map definition

  • name = Sinaloa
    Name used in the default map caption
  • bottom = 22.25
    Latitude at bottom edge of map, in decimal degrees
  • left = -109.7
    Longitude at left edge of map, in decimal degrees
  • right = -105.25
    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 maps displayed as image2 / image3 / image4 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.45 degrees.

  • At an image width of 200 pixels, that is 0.0222 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0044 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 Sinaloa
| width    = 250
| lat_deg  = 24.8
| lon_deg  = -107.383
| label    = Culiacán
}}

Template:Clear

Location map many, using AlternativeMap

Template:Location map many

{{Location map many | Mexico Sinaloa
| AlternativeMap = Mexico Sinaloa location map (urban areas).svg
| width    = 250
| caption  = Locations in Sinaloa
| lat1_deg = 26.706
| lon1_deg = -108.322
| label1   = [[Choix]]
| lat2_deg = 22.982
| lon2_deg = -105.703
| label2   = [[Escuinapa de Hidalgo]]
| lat3_deg = 25.606
| lon3_deg = -109.05
| label3   = [[Topolobampo]]
| lat4_deg = 24.413
| lon4_deg = -106.692
| label4   = [[Cosalá]]
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions