Jump to content

Module:Location map/data/USA Pennsylvania/doc

From Wikipedia, the free encyclopedia
Location map of Pennsylvania
name Pennsylvania
border
coordinates
42.7
-80.7 ←↕→ -74.5
39.5
map center 41°06′N 77°36′W / 41.1°N 77.6°W / 41.1; -77.6
image USA Pennsylvania location map.svg
image1 USA Pennsylvania relief location map.svg
Map of Pennsylvania (click on map to see larger image)

Module:Location map/data/USA Pennsylvania is a location map definition used to overlay markers and labels on an equirectangular projection map of the U.S. state of Pennsylvania. 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 Pennsylvania":

Map definition

  • name = Pennsylvania
    Name used in the default map caption
  • bottom = 39.5
    Latitude at bottom edge of map, in decimal degrees
  • left = -80.7
    Longitude at left edge of map, in decimal degrees
  • right = -74.5
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

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

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

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

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

Examples using location map templates

Location map

Harrisburg is located in Pennsylvania
Harrisburg
Harrisburg
Harrisburg (Pennsylvania)
{{Location map | USA Pennsylvania
| width   = 250
| lat_deg = 40 | lat_min = 16 | lat_sec = 11 | lat_dir = N
| lon_deg = 76 | lon_min = 52 | lon_sec = 32 | lon_dir = W
| label   = Harrisburg
}}

Location map many

Location map/data/USA Pennsylvania/doc is located in Pennsylvania
North East
North East
Fawn Grove
Fawn Grove
Sharon
Sharon
Matamoras
Matamoras
Locations in Pennsylvania
{{Location map many | USA Pennsylvania
| width    = 250
| caption  = Locations in Pennsylvania
| lat1 = 42.213 | long1 = -79.834 | label1 = North East
| lat2 = 39.730 | long2 = -76.451 | label2 = Fawn Grove
| lat3 = 41.233 | long3 = -80.500 | label3 = Sharon
| lat4 = 41.368 | long4 = -74.702 | label4 = Matamoras
}}

Location map+

Location map/data/USA Pennsylvania/doc is located in Pennsylvania
North East
North East
Fawn Grove
Fawn Grove
Sharon
Sharon
Matamoras
Matamoras
Locations in Pennsylvania
{{Location map+ | USA Pennsylvania
| width   = 250
| caption = Locations in Pennsylvania
| places  =
  {{Location map~ | USA Pennsylvania
  | lat = 42.213 | long = -79.834 | label = North East
  }}
  {{Location map~ | USA Pennsylvania
  | lat = 39.730 | long = -76.451 | label = Fawn Grove
  }}
  {{Location map~ | USA Pennsylvania
  | lat = 41.233 | long = -80.500 | label = Sharon
  }}
  {{Location map~ | USA Pennsylvania
  | lat = 41.368 | long = -74.702 | label = Matamoras
  }}
}}

See also

Location map templates

Creating new map definitions