Difference between revisions of "Module:Location map/data/Mexico Sonora/doc"
blackwiki>Sumiaz (←Created page with '<!-- Categories and interwikis go at the bottom of this page. --> {{Module:Location map/data/doc|image=File:Mexico Sonora location map.svg|thumb|250px|Map of S...') |
blackwiki>Sumiaz |
||
| Line 37: | Line 37: | ||
}} | }} | ||
<pre style="width:30em"> | <pre style="width:30em"> | ||
| − | {{Location map many | | + | {{Location map many | Sonora |
| − | |||
| width = 200 | | width = 200 | ||
| − | | caption = | + | | caption = Locations in Sonora |
| − | | lat1_deg = | + | | lat1_deg = 32.48 |
| − | | lon1_deg = | + | | lon1_deg = -114.76 |
| − | | label1 = | + | | label1 = San Luis Río Colorado |
| − | | lat2_deg = | + | | lat2_deg = 31.3 |
| − | | lon2_deg = | + | | lon2_deg = -109.55 |
| − | | label2 = | + | | label2 = Agua Prieta |
| + | | lat3_deg = 28.82 | ||
| + | | lon3_deg = -111.93 | ||
| + | | label3 = Bahía Kino | ||
| + | | lat4_deg = 27.03 | ||
| + | | lon4_deg = -108.94 | ||
| + | | label4 = Álamos | ||
}} | }} | ||
</pre> | </pre> | ||
{{clear}} | {{clear}} | ||
| − | === Location map+ | + | === Location map+ === |
| − | {{Location map+ | | + | {{Location map+ | Sonora |
| − | |||
| width = 200 | | width = 200 | ||
| − | | caption = | + | | caption = Locations in Sonora |
| places = | | places = | ||
| − | {{Location map~ | | + | {{Location map~ | Sonora |
| − | | lat_deg = | + | | lat_deg = 32.48 |
| − | | lon_deg = | + | | lon_deg = -114.76 |
| − | | label = | + | | label = San Luis Río Colorado |
}} | }} | ||
| − | {{Location map~ | | + | {{Location map~ | Sonora |
| − | | lat_deg = | + | | lat_deg = 31.3 |
| − | | lon_deg = | + | | lon_deg = -109.55 |
| − | | label = | + | | label = Agua Prieta |
| + | }} | ||
| + | {{Location map~ | Sonora | ||
| + | | lat_deg = 28.82 | ||
| + | | lon_deg = -111.93 | ||
| + | | label = Bahía Kino | ||
| + | }} | ||
| + | {{Location map~ | Sonora | ||
| + | | lat_deg = 27.03 | ||
| + | | lon_deg = -108.94 | ||
| + | | label = Álamos | ||
}} | }} | ||
}} | }} | ||
<pre style="width:35em"> | <pre style="width:35em"> | ||
| − | {{Location map+ | | + | {{Location map+ | Sonora |
| − | |||
| width = 200 | | width = 200 | ||
| − | | caption = | + | | caption = Locations in Sonora |
| places = | | places = | ||
| − | {{Location map~ | | + | {{Location map~ | Sonora |
| − | | lat_deg = | + | | lat_deg = 32.48 |
| − | | lon_deg = | + | | lon_deg = -114.76 |
| − | | label = | + | | label = San Luis Río Colorado |
| + | }} | ||
| + | {{Location map~ | Sonora | ||
| + | | lat_deg = 31.3 | ||
| + | | lon_deg = -109.55 | ||
| + | | label = Agua Prieta | ||
| + | }} | ||
| + | {{Location map~ | Sonora | ||
| + | | lat_deg = 28.82 | ||
| + | | lon_deg = -111.93 | ||
| + | | label = Bahía Kino | ||
}} | }} | ||
| − | {{Location map~ | | + | {{Location map~ | Sonora |
| − | | lat_deg = | + | | lat_deg = 27.03 |
| − | | lon_deg = | + | | lon_deg = -108.94 |
| − | | label = | + | | label = Álamos |
}} | }} | ||
}} | }} | ||
| Line 90: | Line 113: | ||
<!-- Categories go here, and interwikis go on Wikidata: --> | <!-- Categories go here, and interwikis go on Wikidata: --> | ||
| − | [[Category: | + | [[Category:Mexico location map templates|Mexico location map templates]] |
</includeonly> | </includeonly> | ||
Revision as of 00:51, 12 December 2016
| name | Sonora | |||
|---|---|---|---|---|
| border coordinates | ||||
| 32.8 | ||||
| -115.5 | ←↕→ | -107.5 | ||
| 26 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Mexico Sonora location map.svg
| |||
| image2 | Mexico Sonora location map (urban areas).svg
| |||
Module:Location map/data/Mexico Sonora is a location map definition used to overlay markers and labels on an equirectangular projection map of Sonora. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "Mexico Sonora":
{{Location map | Mexico Sonora | ...}}{{Location map many | Mexico Sonora | ...}}{{Location map+ | Mexico Sonora | ...}}{{Location map~ | Mexico Sonora | ...}}
Map definition
name = Sonora- Name used in the default map caption
image = Mexico Sonora location map.svg- The default map image, without "Image:" or "File:"
image2 = Mexico Sonora location map (urban areas).svg- Alternative map image which can be displayed via the AlternativeMap parameter
top = 32.8- Latitude at top edge of map, in decimal degrees
bottom = 26- Latitude at bottom edge of map, in decimal degrees
left = -115.5- Longitude at left edge of map, in decimal degrees
right = -107.5- 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 8 degrees.
- At an image width of 200 pixels, that is 0.04 degrees per pixel.
- At an image width of 1000 pixels, that is 0.008 degrees per pixel.
Latitude: from North to South this map definition covers 6.8 degrees.
- At an image height of 200 pixels, that is 0.034 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0068 degrees per pixel.
Examples using location map templates
Location map
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/Sonora" does not exist.
{{Location map | Sonora
| width = 200
| lat_deg = 29.10
| lon_deg = -110.95
| label = Hermosillo
}}
Location map many
Lua error in Module:Location_map/multi at line 143: Unable to find the specified location map definition: "Module:Location map/data/Sonora" does not exist.
{{Location map many | Sonora
| width = 200
| caption = Locations in Sonora
| lat1_deg = 32.48
| lon1_deg = -114.76
| label1 = San Luis Río Colorado
| lat2_deg = 31.3
| lon2_deg = -109.55
| label2 = Agua Prieta
| lat3_deg = 28.82
| lon3_deg = -111.93
| label3 = Bahía Kino
| lat4_deg = 27.03
| lon4_deg = -108.94
| label4 = Álamos
}}
Location map+
Lua error in Module:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/Sonora" does not exist.
{{Location map+ | Sonora
| width = 200
| caption = Locations in Sonora
| places =
{{Location map~ | Sonora
| lat_deg = 32.48
| lon_deg = -114.76
| label = San Luis Río Colorado
}}
{{Location map~ | Sonora
| lat_deg = 31.3
| lon_deg = -109.55
| label = Agua Prieta
}}
{{Location map~ | Sonora
| lat_deg = 28.82
| lon_deg = -111.93
| label = Bahía Kino
}}
{{Location map~ | Sonora
| lat_deg = 27.03
| lon_deg = -108.94
| label = Álamos
}}
}}
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