Jump to content

Module:Location map/data/Kosovo/doc

From Wikipedia, the free encyclopedia


Location map of Kosovo
name Kosovo
border
coordinates
43.4
19.8 ←↕→ 21.9
41.7
map center 42°33′N 20°51′E / 42.55°N 20.85°E / 42.55; 20.85
image Kosovo adm location map.svg
image1 Harta e Relievit të Kosovës.svg
Map of Kosovo

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

Map definition

  • name = Kosovo
    Name used in the default map caption
  • bottom = 41.7
    Latitude at bottom edge of map, in decimal degrees
  • left = 19.8
    Longitude at left edge of map, in decimal degrees
  • right = 21.9
    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 2.1 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Pristina is located in Kosovo
Pristina
Pristina
Pristina (Kosovo)
{{Location map | Kosovo
| width   = 150
| lat_deg = 42.66
| lon_deg = 21.16
| label   = Pristina
}}

Location map many, using relief map (image1)

Location map/data/Kosovo/doc is located in Kosovo
Pristina
Pristina
Gjakova
Gjakova
Two locations in Kosovo
{{Location map many | Kosovo
| relief   = yes
| width    = 150
| caption  = Two locations in Kosovo
| lat1_deg = 42.66
| lon1_deg = 21.16
| label1   = Pristina
| lat2_deg = 42.38
| lon2_deg = 20.42
| label2   = Gjakova
}}

Location map+, using AlternativeMap

Location map/data/Kosovo/doc is located in Kosovo
Pristina
Pristina
Gjakova
Gjakova
Two locations in Kosovo
{{Location map+ | Kosovo
| AlternativeMap = Harta e Relievit të Kosovës.svg
| width   = 150
| caption = Two locations in Kosovo
| places  =
  {{Location map~ | Kosovo
  | lat_deg = 42.66
  | lon_deg = 21.16
  | label   = Pristina
  }}
  {{Location map~ | Kosovo
  | lat_deg = 42.38
  | lon_deg = 20.42
  | label   = Gjakova
  }}
}}

See also

Location map templates

Creating new map definitions