Module:Location map/data/USA Pittsburgh neighborhoods

From imedwiki
Jump to navigation Jump to search


Location map of Pittsburgh neighborhoods
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 / 40.4326359; -79.97966505
image Pittsburgh Pennsylvania neighborhoods.svg
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":

Map definition

  • name = Pittsburgh neighborhoods
    Name used in the default map caption
  • 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

Summerset is located in Pittsburgh neighborhoods
Summerset
Summerset
Location of Summerset in southern Squirrel Hill
{{Location map|USA Pittsburgh neighborhoods
| width = 300
| label = Summerset
| caption = Location of Summerset in southern Squirrel Hill
| coordinates = {{coord|40.42034|-79.91506}}
}}

Template:Clear right

Alternative map

Summerset is located in Pittsburgh neighborhoods
Summerset
Summerset
Location of Summerset in southern Squirrel Hill
{{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

Location map templates

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'
}