Module:Location map/data/Laos
From HandWiki
< Module:Location map
Revision as of 12:39, 21 November 2020 by imported>C1MM (Replaced relief map with one conforming more to Wikipedia topographic map colors and more legible)
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 | |||
image | Laos adm location map.svg
| |||
![]() | ||||
image1 | Laos relief map.svg
| |||
![]() |
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":
{{Location map|Laos |...}}
{{Location map many|Laos |...}}
{{Location map+|Laos |...}}
{{Location map~|Laos |...}}
Map definition
name = Laos
- Name used in the default map caption
image = Laos adm location map.svg
- The default map image, without "Image:" or "File:"
image1 = Laos relief map.svg
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
top = 22.9
- Latitude at top edge of map, in decimal degrees
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:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
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)
{{Location map | Laos | width = 220 | lat_deg = 17.97 | lon_deg = 102.6 | label = Vientiane }}
Location map many, using relief map (image1)
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
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
- 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 = 'Laos', top = 22.9, bottom = 13.6, left = 99.7, right = 108.0, image = 'Laos adm location map.svg', image1 = 'Laos relief map.svg' }