Module:Location map/data/Mexico Sinaloa

From HandWiki
< Module:Location map
Revision as of 13:55, 20 May 2018 by imported>Zyxw (add comment)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Location map of Sinaloa
name Sinaloa
border
coordinates
27.25
-109.7 ←↕→ -105.25
22.25
map center [ ⚑ ] 24°45′00″N 107°28′30″W / 24.75°N 107.475°W / 24.75; -107.475
image Mexico Sinaloa location map.svg
Mexico Sinaloa location map.svg
image2 Mexico Sinaloa location map (urban areas).svg
Mexico Sinaloa location map (urban areas).svg
image3 Mexico Sinaloa location map (rivers).svg
Mexico Sinaloa location map (rivers).svg
image4 Mexico Sinaloa location map (urban areas) (rivers).svg
Mexico Sinaloa location map (urban areas) (rivers).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

Culiacán is located in Sinaloa
Culiacán
Culiacán
Culiacán (Sinaloa)
{{Location map | Mexico Sinaloa
| width    = 250
| lat_deg  = 24.8
| lon_deg  = -107.383
| label    = Culiacán
}}

Location map many, using AlternativeMap

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

See also

Location map templates

Creating new map definitions


return {
	name = 'Sinaloa',
	top = 27.25,
	bottom = 22.25,
	left = -109.70,
	right = -105.25,
	image = 'Mexico Sinaloa location map.svg',
	-- image1 reserved for relief map
	image2 = 'Mexico Sinaloa location map (urban areas).svg',
	image3 = 'Mexico Sinaloa location map (rivers).svg',
	image4 = 'Mexico Sinaloa location map (urban areas) (rivers).svg'
}