Module:Location map/data/Mexico 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 | |||
image | Mexico Sinaloa location map.svg
| |||
image2 | Mexico Sinaloa location map (urban areas).svg
| |||
image3 | Mexico Sinaloa location map (rivers).svg
| |||
image4 | Mexico Sinaloa location map (urban areas) (rivers).svg
| |||
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":
{{Location map|Mexico Sinaloa |...}}
{{Location map many|Mexico Sinaloa |...}}
{{Location map+|Mexico Sinaloa |...}}
{{Location map~|Mexico Sinaloa |...}}
Map definition
name = Sinaloa
- Name used in the default map caption
image = Mexico Sinaloa location map.svg
- The default map image, without "Image:" or "File:"
image2 = Mexico Sinaloa location map (urban areas).svg
image3 = Mexico Sinaloa location map (rivers).svg
image4 = Mexico Sinaloa location map (urban areas) (rivers).svg
- Alternative map images which can be displayed via the AlternativeMap parameter
top = 27.25
- Latitude at top edge of map, in decimal degrees
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
{{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
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
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' }