Module:Location map/data/USA West Virginia

From MOASSpedia
Jump to navigation Jump to search
Location map of West Virginia
name West Virginia
border
coordinates
40.8
-82.8 ←↕→ -77.5
37
map center Lua error: callParserFunction: function "#coordinates" was not found.
image USA West Virginia location map.svg
USA West Virginia location map.svg
Map of West Virginia (click on map to see larger image)

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

Map definition

  • name = West Virginia
    Name used in the default map caption
  • 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

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

Charleston is located in West Virginia
Charleston
Charleston
Charleston (West Virginia)
{{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/data/USA West Virginia is located in West Virginia
Weirton
Weirton
Bluefield
Bluefield
Huntington
Huntington
Shepherdstown
Shepherdstown
Locations in West Virginia
{{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/data/USA West Virginia is located in West Virginia
Weirton
Weirton
Bluefield
Bluefield
Huntington
Huntington
Shepherdstown
Shepherdstown
Locations in West Virginia
{{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

Creating new map definitions


return {
	name = 'West Virginia',
	top = 40.8,
	bottom = 37.0,
	left = -82.8,
	right = -77.5,
	image = 'USA West Virginia location map.svg'
}