![]() | This Lua module is used on approximately 5,100 pages and changes may be widely noticed. Test changes in the module's /sandboxor/testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
name | Virginia | |||
---|---|---|---|---|
border coordinates | ||||
40.2 | ||||
-83.9 | ←↕→ | -75 | ||
35.8 | ||||
map center | 38°00′N 79°27′W / 38°N 79.45°W / 38; -79.45 | |||
image | USA Virginia location map.svg
| |||
![]() | ||||
image1 | USA Virginia relief location map.svg
| |||
![]() |
Module:Location map/data/USA Virginia is a location map definition used to overlay markers and labels on an equirectangular projection map of Virginia. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
These definitions are used by the following templates when invoked with parameter "USA Virginia":
{{Location map|USA Virginia |...}}
{{Location map many|USA Virginia |...}}
{{Location map+|USA Virginia |...}}
{{Location map~|USA Virginia |...}}
name = Virginia
image = USA Virginia location map.svg
image1 = USA Virginia relief location map.svg
top = 40.2
bottom = 35.8
left = -83.9
right = -75
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 relieforAlternativeMap parameters. Examples may be found below or in the following:
Longitude: from West to East this map definition covers 8.9 degrees.
Latitude: from North to South this map definition covers 4.4 degrees.
Richmond (Virginia)
{{Location map | USA Virginia | width = 250 | lat_deg = 37 | lat_min = 32 | lat_sec = 28 | lat_dir = N | lon_deg = 77 | lon_min = 25 | lon_sec = 58 | lon_dir = W | label = Richmond }}
Danville
Ewing
Chincoteague
{{Location map many | USA Virginia | width = 250 | caption = Locations in Virginia | lat1 = 39.320 | long1 = -78.293 | label1 = Cross Junction | lat2 = 36.587 | long2 = -79.404 | label2 = Danville | lat3 = 36.641 | long3 = -83.432 | label3 = Ewing | lat4 = 37.935 | long4 = -75.368 | label4 = Chincoteague }}
Danville
Ewing
Chincoteague
{{Location map+ | USA Virginia | width = 250 | caption = Locations in Virginia | places = {{Location map~ | USA Virginia | lat = 39.320 | long = -78.293 | label = Cross Junction }} {{Location map~ | USA Virginia | lat = 36.587 | long = -79.404 | label = Danville }} {{Location map~ | USA Virginia | lat = 36.641 | long = -83.432 | label = Ewing }} {{Location map~ | USA Virginia | lat = 37.935 | long = -75.368 | label = Chincoteague }} }}
return {
name = 'Virginia',
top = 40.2,
bottom = 35.8,
left = -83.9,
right = -75.0,
image = 'USA Virginia location map.svg',
image1 = 'USA Virginia relief location map.svg'
}