Module:Location map/data/USA West Virginia
name | West Virginia | |||
---|---|---|---|---|
border coordinates | ||||
40.8 | ||||
-82.8 | ←↕→ | -77.5 | ||
37 | ||||
map center | 38°54′N 80°09′W / 38.9°N 80.15°W | |||
image | USA West Virginia location map.svg
| |||
image1 | USA West Virginia relief location map.svg
| |||
Module:Location map/data/USA West Virginia is a location map definition used to overlay markers and labels on an equirectangular projection map of West Virginia. 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 West Virginia":
{{Location map|USA West Virginia |...}}
{{Location map many|USA West Virginia |...}}
{{Location map+|USA West Virginia |...}}
{{Location map~|USA West Virginia |...}}
Map definition
name = West Virginia
- Name used in the default map caption
image = USA West Virginia location map.svg
- The default map image, without "Image:" or "File:"
image1 = USA West Virginia relief location map.svg
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
top = 40.8
- Latitude at top edge of map, in decimal degrees
bottom = 37
- Latitude at bottom edge of map, in decimal degrees
left = -82.8
- Longitude at left edge of map, in decimal degrees
right = -77.5
- 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 5.3 degrees.
- At an image width of 200 pixels, that is 0.0265 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0053 degrees per pixel.
Latitude: from North to South this map definition covers 3.8 degrees.
- At an image height of 200 pixels, that is 0.019 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0038 degrees per pixel.
Examples using location map templates
Location map
{{Location map | USA West Virginia | width = 250 | lat_deg = 38 | lat_min = 20 | lat_sec = 50 | lat_dir = N | lon_deg = 81 | lon_min = 38 | lon_sec = 00 | lon_dir = W | label = Charleston }}
Location map many
{{Location map many | USA West Virginia | width = 250 | caption = Locations in West Virginia | lat1 = 40.417 | long1 = -80.583 | label1 = Weirton | lat2 = 37.262 | long2 = -81.219 | label2 = Bluefield | lat3 = 38.413 | long3 = -82.434 | label3 = Huntington | lat4 = 39.432 | long4 = -77.806 | label4 = Shepherdstown }}
Location map+
{{Location map+ | USA West Virginia | width = 250 | caption = Locations in West Virginia | places = {{Location map~ | USA West Virginia | lat = 40.417 | long = -80.583 | label = Weirton }} {{Location map~ | USA West Virginia | lat = 37.262 | long = -81.219 | label = Bluefield }} {{Location map~ | USA West Virginia | lat = 38.413 | long = -82.434 | label = Huntington }} {{Location map~ | USA West Virginia | lat = 39.432 | long = -77.806 | label = Shepherdstown }} }}
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