Module:Location map/data/USA Pittsburgh neighborhoods

MyWikiBiz, Author Your Legacy — Saturday December 28, 2024
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.


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

Template:Location map

{{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

Template:Location 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}}
}}

Template:Clear

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