Jump to content

Module:Location map/data/Mexico Sonora/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sumiaz (talk | contribs) at 00:38, 12 December 2016 (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...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


Location map of Sonora
name Sonora
border
coordinates
32.8
-115.5 ←↕→ -107.5
26
map center 29°24′N 111°30′W / 29.4°N 111.5°W / 29.4; -111.5
image Mexico Sonora location map.svg
image2 Mexico Sonora location map (urban areas).svg
Map of Sonora

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.

Usage

These definitions are used by the following templates when invoked with parameter "Mexico Sonora":

Map definition

  • name = Sonora
    Name used in the default map caption
  • 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 526: 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 | Belgium
| relief   = yes
| width    = 200
| caption  = Two locations in Belgium
| lat1_deg = 50.85
| lon1_deg = 4.35
| label1   = Brussels
| lat2_deg = 51.22
| lon2_deg = 4.40
| label2   = Antwerp
}}

Location map+, using AlternativeMap

Location map/data/Mexico Sonora/doc is located in Belgium
Brussels
Brussels
Antwerp
Antwerp
Two locations in Belgium
{{Location map+ | Belgium
| AlternativeMap = Belgium relief location map.jpg
| width   = 200
| caption = Two locations in Belgium
| places  =
  {{Location map~ | Belgium
  | lat_deg = 50.85
  | lon_deg = 4.35
  | label   = Brussels
  }}
  {{Location map~ | Belgium
  | lat_deg = 51.22
  | lon_deg = 4.40
  | label   = Antwerp
  }}
}}

See also

Location map templates

Creating new map definitions