Module:Location map/data/Mexico Sonora/doc

MyWikiBiz, Author Your Legacy — Wednesday July 17, 2024
Jump to navigationJump to search

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

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

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

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, using default map

Template:Location map

{{Location map | Mexico Sonora
| width   = 250
| lat_deg = 29.10
| lon_deg = -110.95
| label   = Hermosillo
}}

Template:Clear

Location map many, using default map

Template:Location map many

{{Location map many | Mexico Sonora
| width    = 250
| 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
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | Mexico Sonora
| AlternativeMap = Mexico Sonora location map (urban areas).svg
| width   = 250
| caption = Locations in Sonora
| places  =
  {{Location map~ | Mexico Sonora
  | lat_deg = 32.48
  | lon_deg = -114.76
  | label   = San Luis Río Colorado
  }}
  {{Location map~ | Mexico Sonora
  | lat_deg = 31.3
  | lon_deg = -109.55
  | label   = Agua Prieta
  }}
  {{Location map~ | Mexico Sonora
  | lat_deg = 28.82
  | lon_deg = -111.93
  | label   = Bahía Kino
  }}
  {{Location map~ | Mexico Sonora
  | lat_deg = 27.03
  | lon_deg = -108.94
  | label   = Álamos
  }}
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions