Module:Location map/data/USA Northeast (cropped)
Jump to navigation
Jump to search
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 | |||
image | USA Northeast (cropped).svg
| |||
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)":
{{Location map|USA Northeast (cropped) |...}}
{{Location map many|USA Northeast (cropped) |...}}
{{Location map+|USA Northeast (cropped) |...}}
{{Location map~|USA Northeast (cropped) |...}}
Map definition
name = USA Northeast (cropped)
- Name used in the default map caption
image = USA Northeast (cropped).svg
- The default map image, without "Image:" or "File:"
top = 45.8
- Latitude at top edge of map, in decimal degrees
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)
{{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+ | 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
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
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',
}