Jump to content

Module:Location map/data/USA Alabama/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 08:13, 24 June 2013 (update documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Map of Alabama (click on map to see larger image)

Template:Location map USA Alabama is a location map definition used to overlay markers and labels on an equirectangular projection map of the U.S. state of Alabama. 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 "USA Alabama":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/USA Alabama) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/USA Alabama) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Precision

Longitude: from West to East this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image width of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image width of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Latitude: from North to South this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image height of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image height of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Examples using location map templates

Location map

Montgomery is located in Alabama
Montgomery
Montgomery
Montgomery (Alabama)
{{Location map | USA Alabama
| width   = 200
| lat_deg =  32 | lat_min = 21 | lat_sec = 42 | lat_dir = N 
| lon_deg = 086 | lon_min = 16 | lon_sec = 45 | lon_dir = W
| label   = Montgomery
}}

Location map many

Location map/data/USA Alabama/doc is located in Alabama
Ardmore
Ardmore
Gulf Shores
Gulf Shores
Melvin
Melvin
Lanett
Lanett
Locations in Alabama
{{Location map many | USA Alabama
| width    = 200
| caption  = Locations in Alabama
| lat1 = 34.987 | long1 = -86.843 | label1 = Ardmore
| lat2 = 30.268 | long2 = -87.701 | label2 = Gulf Shores
| lat3 = 31.931 | long3 = -88.459 | label3 = Melvin
| lat4 = 32.863 | long4 = -85.200 | label4 = Lanett
}}

Location map+

Location map/data/USA Alabama/doc is located in Alabama
Ardmore
Ardmore
Gulf Shores
Gulf Shores
Melvin
Melvin
Lanett
Lanett
Locations in Alabama
{{Location map+ | USA Alabama
| width   = 200
| caption = Locations in Alabama
| places  =
  {{Location map~ | USA Alabama
  | lat = 34.987 | long = -86.843 | label = Ardmore
  }}
  {{Location map~ | USA Alabama
  | lat = 30.268 | long = -87.701 | label = Gulf Shores
  }}
  {{Location map~ | USA Alabama
  | lat = 31.931 | long = -88.459 | label = Melvin
  }}
  {{Location map~ | USA Alabama
  | lat = 32.863 | long = -85.200 | label = Lanett
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List