Difference between revisions of "Module:Location map/data/Afghanistan Kabul/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>MrPenguin20
blackwiki>MrPenguin20
Line 1: Line 1:
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
{{Module:Location map/data/doc|name=[[Afghanistan Kabul]]
+
{{Module:Location map/data/doc|image=[[File:Location map Afghanistan Kabul.svg|thumb|250px|Map of Kabul]]
 
|examples=
 
|examples=
 
=== Location map, using default map (image) ===
 
=== Location map, using default map (image) ===
{{Location map | Afghanistan Kabul
+
{{Location map | Kabul
 
| width  = 250
 
| width  = 250
 
| lat_deg = 34.5279673
 
| lat_deg = 34.5279673

Revision as of 00:51, 23 December 2015


Location map of Kabul
name Kabul
border
coordinates
34.8019
68.8486 ←↕→ 69.494
34.2142
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Location map Afghanistan Kabul.svg
400x400px

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

Map definition

  • name = Kabul
    Name used in the default map caption
  • bottom = 34.2142
    Latitude at bottom edge of map, in decimal degrees
  • left = 68.8486
    Longitude at left edge of map, in decimal degrees
  • right = 69.494
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/Kabul" does not exist.


See also

Location map templates

Creating new map definitions