Module:Location map/data/USA Alabama Huntsville
Jump to navigation
Jump to search
name | Huntsville, Alabama | |||
---|---|---|---|---|
border coordinates | ||||
34.8578 | ||||
-86.8222 | ←↕→ | -86.4034 | ||
34.5462 | ||||
map center | 34°42′07″N 86°36′46″W / 34.702°N 86.6128°W | |||
image | Location Map USA Alabama Huntsville.png
| |||
Module:Location map/data/USA Alabama Huntsville is a location map definition used to overlay markers and labels on an equirectangular projection map of Huntsville, 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 Huntsville":
{{Location map|USA Alabama Huntsville |...}}
{{Location map many|USA Alabama Huntsville |...}}
{{Location map+|USA Alabama Huntsville |...}}
{{Location map~|USA Alabama Huntsville |...}}
Map definition
name = Huntsville, Alabama
- Name used in the default map caption
image = Location Map USA Alabama Huntsville.png
- The default map image, without "Image:" or "File:"
top = 34.8578
- Latitude at top edge of map, in decimal degrees
bottom = 34.5462
- Latitude at bottom edge of map, in decimal degrees
left = -86.8222
- Longitude at left edge of map, in decimal degrees
right = -86.4034
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.4188 degrees.
- At an image width of 200 pixels, that is 0.0021 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0004 degrees per pixel.
Latitude: from North to South this map definition covers 0.3116 degrees.
- At an image height of 200 pixels, that is 0.0016 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0003 degrees per pixel.
Examples using location map templates
Location map
{{Location map | USA Alabama Huntsville | width = 200 | lat_deg = 34 | lat_min = 42 | lat_sec = 41 | lat_dir = N | lon_deg = 086 | lon_min = 39 | lon_sec = 15 | lon_dir = W | label = U.S. Space & Rocket Center }}
Location map many
{{Location map many | USA Alabama Huntsville | width = 200 | caption = Locations in Huntsville, Alabama | lat1 = 34.711389 | long1 = -86.654167 | label1 = U.S. Space & Rocket Center | position1 = bottom | lat2 = 34.730280 | long2 = -86.585059 | label2 = Madison County Courthouse | lat3 = 34.7826 | long3 = -86.5687 | label3 = Alabama A&M University | position3 = left }}
Location map+
{{Location map+ | USA Alabama Huntsville | width = 200 | caption = Locations in Huntsville, Alabama | places = {{Location map~ | USA Alabama Huntsville | lat = 34.711389 | long = -86.654167 | label = U.S. Space & Rocket Center | position = bottom }} {{Location map~ | USA Alabama Huntsville | lat = 34.730280 | long = -86.585059 | label = Madison County Courthouse }} {{Location map~ | USA Alabama Huntsville | lat = 34.7826 | long = -86.5687 | label = Alabama A&M University | position = left }} }}
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
return {
name = 'Huntsville, Alabama',
top = 34.8578,
bottom = 34.5462,
left = -86.8222,
right = -86.4034,
image = 'Location Map USA Alabama Huntsville.png'
}