Module:Location map/data/USA Northeast (cropped)

From imedwiki
Jump to navigation Jump to search


Location map of USA Northeast (cropped)
name USA Northeast (cropped)
border
coordinates
45.8
-83.2 ←↕→ -67.7
39.7
map center 42°45′N 75°27′W / 42.75°N 75.45°W / 42.75; -75.45
image USA Northeast (cropped).svg
USA Northeast (cropped).svg
Map of USA Northeast

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

Map definition

  • name = USA Northeast (cropped)
    Name used in the default map caption
  • bottom = 39.7
    Latitude at bottom edge of map, in decimal degrees
  • left = -83.2
    Longitude at left edge of map, in decimal degrees
  • right = -67.7
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

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

Location map+, using default map (image)

Location map/data/USA Northeast (cropped) is located in USA Northeast (cropped)
Boston
Boston
Pittsburgh
Pittsburgh
Two locations in Northeast
{{Location map+ | USA Northeast (cropped)
| width   = 250
| caption = Two locations in Northeast
| places  =
  {{Location map~ | USA Northeast (cropped)
  | lat_deg = 42.358056
  | lon_deg = -71.063611
  | label   = Boston
  }}
  {{Location map~ |  USA Northeast (cropped)
  | lat_deg = 40.439722
  | lon_deg = -79.976389
  | label   = Pittsburgh
  }}
}}

See also

Location map templates

Creating new map definitions



return {
	name = 'USA Northeast (cropped)',
	top = 45.8,
	bottom = 39.7,
	left = -83.2,
	right = -67.7,
	image = 'USA Northeast (cropped).svg',
}