Module:Location map/data/Khyber Pakhtunkhwa

Module documentation[view] [edit] [history] [purge]
Location map of Khyber Pakhtunkhwa
name Khyber Pakhtunkhwa
border
coordinates
37.11
68.94 ←↕→ 74.46
30.98
map center 34°02′42″N 71°42′00″E / 34.045°N 71.7°E / 34.045; 71.7
image Pakistan Khyber Pakhtunkhwa location map.svg
Pakistan Khyber Pakhtunkhwa location map.svg
image1 Pakistan Khyber Pakhtunwa relief map.svg
Pakistan Khyber Pakhtunwa relief map.svg
Map of Khyber Pakhtunkhwa

Module:Location map/data/Khyber Pakhtunkhwa is a location map definition used to overlay markers and labels on an equirectangular projection map of Khyber Pakhtunkhwa. 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 "Khyber Pakhtunkhwa":

Map definition

  • name = Khyber Pakhtunkhwa
    Name used in the default map caption
  • bottom = 30.98
    Latitude at bottom edge of map, in decimal degrees
  • left = 68.94
    Longitude at left edge of map, in decimal degrees
  • right = 74.46
    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 5.52 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Dera Ismail Khan is located in Khyber Pakhtunkhwa
Dera Ismail Khan
Dera Ismail Khan
Dera Ismail Khan (Khyber Pakhtunkhwa)
{{Location map | Khyber Pakhtunkhwa
| width   = 200
| lat_deg = 31.847103
| lon_deg = 70.864021
| label   = Dera Ismail Khan
}}

See also

Location map templates

Creating new map definitions

return {
		name = 'Khyber Pakhtunkhwa',
		top = 37.11,
		bottom = 30.98,
		left = 68.94,
		right = 74.46,
		image = 'Pakistan Khyber Pakhtunkhwa location map.svg',
		image1 = 'Pakistan Khyber Pakhtunwa relief map.svg'
		}