Module:Location map/data/USA Northeast

From blackwiki
< Module:Location map
Revision as of 13:34, 14 August 2014 by blackwiki>Sphilbrick (create module)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Location map of USA Northeast
name USA Northeast
border
coordinates
50.2
-98.4 ←↕→ -66.3
35.9
map center Lua error: callParserFunction: function "#coordinates" was not found.
image USA_Northeast.svg
USA Midwest and Northeast.svg
Map of USA Northeast

Module:Location map/data/USA Northeast is a location map definition used to overlay markers and labels on an equirectangular projection map of USA Northeast. 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 Northeast":

Map definition

  • name = USA Northeast
    Name used in the default map caption
  • bottom = 35.9
    Latitude at bottom edge of map, in decimal degrees
  • left = -98.4
    Longitude at left edge of map, in decimal degrees
  • right = -66.3
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 32.1 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Boston is located in USA Northeast
Boston
Boston
Boston (USA Northeast)
{{Location map | USA_Northeast
| width   = 250
| lat_deg = 42.366303
| lon_deg = -71.062228
| label   = Boston
}}

Location map+, using default map (image)

Location map/data/USA Northeast is located in USA Northeast
Boston
Boston
Duluth
Duluth
Two locations in Northeast
{{Location map+ | USA Northeast
| width   = 250
| caption = Two locations in Northeast
| places  =
  {{Location map~ | USA Northeast
  | lat_deg = 42.358056
  | lon_deg = -71.063611
  | label   = Boston
  }}
  {{Location map~ |  USA Northeast
  | lat_deg = 46.8
  | lon_deg =  -92.1
  | label   = Duluth
  }}
}}

See also

Location map templates

Creating new map definitions



return {
	name = 'USA Northeast',
	top = 50.2,
	bottom = 35.9,
	left = -98.4,
	right = -66.3,
	image = 'USA_Northeast.svg'
}