Module:Location map/data/USA Pittsburgh neighborhoods
From HandWiki
< Module:Location map
Revision as of 07:34, 16 April 2018 by imported>Frietjes (created from Template:Location map Pittsburgh neighborhoods, earlier edit history will be saved in Module:Location map/data/USA Pittsburgh neighborhoods/doc)
name | Pittsburgh neighborhoods | |||
---|---|---|---|---|
border coordinates | ||||
40.5049476 | ||||
-80.0995203 | ←↕→ | -79.8598098 | ||
40.3603242 | ||||
map center | [ ⚑ ] 40°25′57″N 79°58′47″W / 40.4326359°N 79.97966505°W | |||
image | Pittsburgh Pennsylvania neighborhoods.svg
| |||
Module:Location map/data/USA Pittsburgh neighborhoods is a location map definition used to overlay markers and labels on an equirectangular projection map of Pittsburgh neighborhoods. 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 Pittsburgh neighborhoods":
{{Location map|USA Pittsburgh neighborhoods |...}}
{{Location map many|USA Pittsburgh neighborhoods |...}}
{{Location map+|USA Pittsburgh neighborhoods |...}}
{{Location map~|USA Pittsburgh neighborhoods |...}}
Map definition
name = Pittsburgh neighborhoods
- Name used in the default map caption
image = Pittsburgh Pennsylvania neighborhoods.svg
- The default map image, without "Image:" or "File:"
top = 40.5049476
- Latitude at top edge of map, in decimal degrees
bottom = 40.3603242
- Latitude at bottom edge of map, in decimal degrees
left = -80.0995203
- Longitude at left edge of map, in decimal degrees
right = -79.8598098
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.2397 degrees.
- At an image width of 200 pixels, that is 0.0012 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0002 degrees per pixel.
Latitude: from North to South this map definition covers 0.1446 degrees.
- At an image height of 200 pixels, that is 0.0007 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0001 degrees per pixel.
Examples using location map templates
This location map may be used with any of the Locator maps of neighborhoods in Pittsburgh found on commons.
Default map
{{Location map|USA Pittsburgh neighborhoods | width = 300 | label = Summerset | caption = Location of Summerset in southern Squirrel Hill | coordinates = {{coord|40.42034|-79.91506}} }}
Alternative map
{{Location map|USA Pittsburgh neighborhoods | AlternativeMap = Pgh_locator_squirrel_hill_south.svg | width = 300 | label = Summerset | caption = Location of Summerset in southern Squirrel Hill | coordinates = {{coord|40.42034|-79.91506}} }}
See also
- Module:Location map/data/USA
- Module:Location map/data/USA Pennsylvania
- Module:Location map/data/USA Pittsburgh
- Module:Location map/data/USA Pittsburgh central
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 = 'Pittsburgh neighborhoods', top = 40.5049476, bottom = 40.3603242, left = -80.0995203, right = -79.8598098, image = 'Pittsburgh Pennsylvania neighborhoods.svg' }