Module:Location map/data/USA Virginia/doc

From MOASSpedia
< Module:Location map‎ | data/USA Virginia
Revision as of 22:26, 1 November 2018 by Wikipedia>Zyxw (Remove <noinclude> around {{high-use}} template, since it works correctly on /doc pages now. Update count which is rounded and formatted by the template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Location map of Virginia
name Virginia
border
coordinates
40.2
-83.9 ←↕→ -75
35.8
map center Lua error: callParserFunction: function "#coordinates" was not found.
image USA Virginia location map.svg
USA Virginia location map.svg
image1 USA Virginia relief location map.svg
USA Virginia relief location map.svg
Map of Virginia (click on map to see larger image)

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.

Usage

These definitions are used by the following templates when invoked with parameter "USA Virginia":

Map definition

  • name = Virginia
    Name used in the default map caption
  • bottom = 35.8
    Latitude at bottom edge of map, in decimal degrees
  • left = -83.9
    Longitude at left edge of map, in decimal degrees
  • right = -75
    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 8.9 degrees.

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

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

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

Examples using location map templates

Location map

Richmond is located in Virginia
Richmond
Richmond
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
}}

Location map many

Location map/data/USA Virginia/doc is located in Virginia
Cross Junction
Cross Junction
Danville
Danville
Ewing
Ewing
Chincoteague
Chincoteague
Locations in Virginia
{{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
}}

Location map+

Location map/data/USA Virginia/doc is located in Virginia
Cross Junction
Cross Junction
Danville
Danville
Ewing
Ewing
Chincoteague
Chincoteague
Locations in Virginia
{{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
  }}
}}

See also

Location map templates

Creating new map definitions