Module:Location map/data/USA Alabama Huntsville/doc

From imedwiki
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/USA Alabama Huntsville


Location map of Huntsville, Alabama
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 / 34.702; -86.6128
image Location Map USA Alabama Huntsville.png
Location Map USA Alabama Huntsville.png
Map of Huntsville, Alabama (click on map to see larger image)

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":

Map definition

  • name = Huntsville, Alabama
    Name used in the default map caption
  • 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

U.S. Space & Rocket Center is located in Huntsville, Alabama
U.S. Space & Rocket Center
U.S. Space & Rocket Center
U.S. Space & Rocket Center (Huntsville, Alabama)
{{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

Template: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/data/USA Alabama Huntsville/doc is located in Huntsville, Alabama
U.S. Space & Rocket Center
U.S. Space & Rocket Center
Madison County Courthouse
Madison County Courthouse
Alabama A&M University
Alabama A&M University
Locations in Huntsville, Alabama
{{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

Creating new map definitions