Difference between revisions of "Module:Location map/data/Dera Ismail Khan"
Jump to navigation
Jump to search
blackwiki>Amirk94391 (←Created page with 'return { name = 'Dera Ismail Khan', top = 31.9463, bottom = 31.7118, left = 70.7602, right = 70.9806, image = 'Pakistan Dera Ismail Khan map.svg', }') |
blackwiki>Amirk94391 m (Amirk94391 moved page Module:Location map/data/Pakistan Dera Ismail Khan to Module:Location map/data/Dera Ismail Khan without leaving a redirect: Current module is used illustrate the city map of Dera Ismail Khan so "Dera Ismail Khan" should be...) |
(No difference)
| |
Revision as of 15:17, 12 March 2017
| name | Dera Ismail Khan | |||
|---|---|---|---|---|
| border coordinates | ||||
| 31.9463 | ||||
| 70.7602 | ←↕→ | 70.9806 | ||
| 31.7118 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Pakistan Dera Ismail Khan map.svg
| |||
Module:Location map/data/Dera Ismail Khan is a location map definition used to overlay markers and labels on an equirectangular projection map of Dera Ismail Khan. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "Dera Ismail Khan":
{{Location map | Dera Ismail Khan | ...}}{{Location map many | Dera Ismail Khan | ...}}{{Location map+ | Dera Ismail Khan | ...}}{{Location map~ | Dera Ismail Khan | ...}}
Map definition
name = Dera Ismail Khan- Name used in the default map caption
image = Pakistan Dera Ismail Khan map.svg- The default map image, without "Image:" or "File:"
top = 31.9463- Latitude at top edge of map, in decimal degrees
bottom = 31.7118- Latitude at bottom edge of map, in decimal degrees
left = 70.7602- Longitude at left edge of map, in decimal degrees
right = 70.9806- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.2204 degrees.
- At an image width of 200 pixels, that is 0.0011 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.2345 degrees.
- At an image height of 200 pixels, that is 0.0012 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0002 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | Dera Ismail Khan
| width = 200
| lat_deg = 31.847103
| lon_deg = 70.864021
| label = Zafar Abad Colony
}}
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return {
name = 'Dera Ismail Khan',
top = 31.9463,
bottom = 31.7118,
left = 70.7602,
right = 70.9806,
image = 'Pakistan Dera Ismail Khan map.svg',
}
