Module:Location map/data/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 | |||
image | USA Alabama location map.svg
| |||
image1 | USA Alabama relief location map.svg
| |||
Module:Location map/data/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 "Alabama":
{{Location map|Alabama |...}}
{{Location map many|Alabama |...}}
{{Location map+|Alabama |...}}
{{Location map~|Alabama |...}}
Map definition
name = Alabama
- Name used in the default map caption
image = USA Alabama location map.svg
- The default map image, without "Image:" or "File:"
image1 = USA Alabama relief location map.svg
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
top = 35.2
- Latitude at top edge of map, in decimal degrees
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
Alternative map
The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
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
{{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 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+ | 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
- 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
Creating new map definitions