Module:Location map/data/USA West Virginia

MyWikiBiz, Author Your Legacy — Sunday December 22, 2024
Jump to navigationJump to search

Template:High-useLua error: expandTemplate: template "coord" does not exist.

File:Map of West Virginia NA.png
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

Template: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
}}

Template:Clear

Location map many

Template: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
}}

Template:Clear

Location map+

Template: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
  }}
}}

Template:Clear

Template:Clear

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'
}