Module:Location map/data/USA Alabama

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Module documentation[view] [edit] [history] [purge]
Location map of Alabama
name Alabama
border
coordinates
35.2
-88.7 ←↕→ -84.7
29.9
map center 32°33′N 86°42′W / 32.55°N 86.7°W / 32.55; -86.7
image USA Alabama location map.svg
USA Alabama location map.svg
Map of Alabama (click on map to see larger image)

Module:Location map/data/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

  • name = Alabama
    Name used in the default map caption
  • bottom = 29.9
    Latitude at bottom edge of map, in decimal degrees
  • left = -88.7
    Longitude at left edge of map, in decimal degrees
  • right = -84.7
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 4 degrees.

  • At an image width of 200 pixels, that is 0.02 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.004 degrees per pixel.

Latitude: from North to South this map definition covers 5.3 degrees.

  • At an image height of 200 pixels, that is 0.0265 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0053 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 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 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

return {
	name = 'Alabama',
	top = 35.2,
	bottom = 29.9,
	left = -88.7,
	right = -84.7,
	image = 'USA Alabama location map.svg'
}