Module:Location map/data/Laos/doc

From HandWiki
< Module:Location map‎ | data/Laos
Revision as of 17:49, 30 October 2019 by imported>Spiderjerky
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


Location map of Laos
name Laos
border
coordinates
22.9
99.7 ←↕→ 108
13.6
map center [ ⚑ ] 18°15′N 103°51′E / 18.25°N 103.85°E / 18.25; 103.85
image Laos adm location map.svg
Laos adm location map.svg
image1 Laos relief map.svg
Laos relief map.svg
Map of Laos

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

Map definition

  • name = Laos
    Name used in the default map caption
  • bottom = 13.6
    Latitude at bottom edge of map, in decimal degrees
  • left = 99.7
    Longitude at left edge of map, in decimal degrees
  • right = 108
    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 8.3 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Vientiane is located in Laos
Vientiane
Vientiane
Vientiane (Laos)
{{Location map | Laos
| width   = 220
| lat_deg = 17.97
| lon_deg = 102.6
| label   = Vientiane
}}

Location map many, using relief map (image1)

Location map/data/Laos/doc is located in Laos
Vientiane
Vientiane
Pakse
Pakse
Two locations in Laos
{{Location map many | Laos
| relief   = yes
| width    = 220
| caption  = Two locations in Laos
| lat1_deg = 17.97
| lon1_deg = 102.6
| label1   = Vientiane
| lat2_deg = 15.12
| lon2_deg = 105.78
| label2   = Pakse
}}

Location map+, using AlternativeMap

Location map/data/Laos/doc is located in Laos
Vientiane
Vientiane
Pakse
Pakse
Two locations in Laos
{{Location map+ | Laos
| AlternativeMap = Laos location map Topographic.png
| width   = 220
| caption = Two locations in Laos
| places  =
  {{Location map~ | Laos
  | lat_deg = 17.97
  | lon_deg = 102.6
  | label   = Vientiane
  }}
  {{Location map~ | Laos
  | lat_deg = 15.12
  | lon_deg = 105.78
  | label   = Pakse
  }}
}}

See also

Location map templates

Creating new map definitions