Module:Location map/data/USA Tennessee/doc

From imedwiki
Jump to navigation Jump to search

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

Location map of Tennessee
name Tennessee
border
coordinates
38.1
-90.5 ←↕→ -81.4
33.6
map center 35°51′N 85°57′W / 35.85°N 85.95°W / 35.85; -85.95
image USA Tennessee location map.svg
400x400px
image1 USA Tennessee relief location map.svg
400x400px
File:Map of Tennessee NA.png
Map of Tennessee (click on map to see larger image)

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

Map definition

  • name = Tennessee
    Name used in the default map caption
  • bottom = 33.6
    Latitude at bottom edge of map, in decimal degrees
  • left = -90.5
    Longitude at left edge of map, in decimal degrees
  • right = -81.4
    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:

Precision

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

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

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

  • At an image height of 200 pixels, that is 0.0225 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0045 degrees per pixel.

Examples using location map templates

Location map

Nashville (Tennessee)
{{Location map | USA Tennessee
| width   = 200
| lat_deg =  36 | lat_min = 10 | lat_sec = 00 | lat_dir = N 
| lon_deg = 086 | lon_min = 47 | lon_sec = 00 | lon_dir = W
| label   = Nashville
}}

Location map many

Template:Location map many

{{Location map many | USA Tennessee
| width    = 200
| caption  = Locations in Tennessee
| lat1 = 36.6328 | long1 = -86.5392 | label1 = Mitchellville
| lat2 = 35.0047 | long2 = -86.8514 | label2 = Ardmore
| lat3 = 35.5164 | long3 = -89.8886 | label3 = Randolph
| lat4 = 36.1450 | long4 = -82.4108 | label4 = Erwin
}}

Location map+

Locations in Tennessee
{{Location map+ | USA Tennessee
| width   = 200
| caption = Locations in Tennessee
| places  =
  {{Location map~ | USA Tennessee
  | lat = 36.6328 | long = -86.5392 | label = Mitchellville
  }}
  {{Location map~ | USA Tennessee
  | lat = 35.0047 | long = -86.8514 | label = Ardmore
  }}
  {{Location map~ | USA Tennessee
  | lat = 35.5164 | long = -89.8886 | label = Randolph
  }}
  {{Location map~ | USA Tennessee
  | lat = 36.1450 | long = -82.4108 | label = Erwin
  }}
}}

Location map, one location on three maps

Nashville (Tennessee)
Nashville (the United States)
Nashville (North America)
{{Location map | USA Tennessee#USA#North America
| relief  = yes
| width   = 200
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
}}

Location map, three maps and three captions

Location in Tennessee
Location in the United States
Location in North America
{{Location map | USA Tennessee#USA#North America
| relief  = yes
| width   = 200
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
| caption = Location in [[Tennessee]]##Location in the [[United States]]##Location in [[North America]]
}}

See also

Location map templates

Creating new map definitions