Module:Location map/data/Canton of Valais

From HandWiki
< Module:Location map
Revision as of 13:40, 28 February 2017 by imported>Tobyc75 (Created page with 'return { name = 'Canton of Valais', top = 46.7765, bottom = 45.7275, left = 6.6356, right = 8.5929, image = 'Reliefkarte_Wallis_blank.png' }')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Location map of Canton of Valais
name Canton of Valais
border
coordinates
46.7765
6.6356 ←↕→ 8.5929
45.7275
map center [ ⚑ ] 46°15′07″N 7°36′51″E / 46.252°N 7.61425°E / 46.252; 7.61425
image Reliefkarte_Wallis_blank.png
Reliefkarte Wallis blank.png
Map of Valais in Switzerland

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

Map definition

  • name = Canton of Valais
    Name used in the default map caption
  • bottom = 45.7275
    Latitude at bottom edge of map, in decimal degrees
  • left = 6.6356
    Longitude at left edge of map, in decimal degrees
  • right = 8.5929
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Location map/data/Canton of Valais is located in Canton of Valais
Sierre
Sierre
Sion
Sion
Brig-Glis
Brig-Glis
Location map/data/Canton of Valais (Canton of Valais)

{{#invoke:Location map/data|''function_name''}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Canton of Valais',
	top = 46.7765,
	bottom = 45.7275,
	left = 6.6356,
	right =	8.5929,
	image = 'Reliefkarte_Wallis_blank.png'
}