Module:Location map/data/USA Pennsylvania/doc

MyWikiBiz, Author Your Legacy — Friday April 19, 2024
Jump to navigationJump to search

This is the documentation page for Module:Location map/data/USA Pennsylvania

Template:High-use Lua error: expandTemplate: template "coord" does not exist.

File:Map of Pennsylvania NA.png
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

Template:Location map

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

Template:Clear

Location map many

Template:Location map many

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

Template:Clear

Location map+

Template:Location map+

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

Template:Clear

See also

Location map templates

Creating new map definitions