Module:Location map/data/Liechtenstein

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search


Location map of Liechtenstein
name Liechtenstein
border
coordinates
47.2952
9.3726 ←↕→ 9.7287
47.0298
map center 47°09′45″N 9°33′02″E / 47.1625°N 9.55065°E / 47.1625; 9.55065
image Liechtenstein location map.svg
Liechtenstein location map.svg
image1 Liechtenstein location map Topographic.png
Liechtenstein location map Topographic.png
Map of Liechtenstein

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

Map definition

  • name = Liechtenstein
    Name used in the default map caption
  • bottom = 47.0298
    Latitude at bottom edge of map, in decimal degrees
  • left = 9.3726
    Longitude at left edge of map, in decimal degrees
  • right = 9.7287
    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 0.3561 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Vaduz is located in Liechtenstein
Vaduz
Vaduz
Vaduz (Liechtenstein)
{{Location map | Liechtenstein
| width   = 250
| lat_deg = 47.141
| lon_deg = 9.521
| label   = Vaduz
}}

Location map many, using relief map (image1)

Location map/data/Liechtenstein is located in Liechtenstein
Vaduz
Vaduz
Balzers
Balzers
Two locations in Liechtenstein
{{Location map many | Liechtenstein
| relief   = yes
| width    = 250
| caption  = Two locations in Liechtenstein
| lat1_deg = 47.141
| lon1_deg = 9.521
| label1   = Vaduz
| pos1     = left
| lat2_deg = 47.067
| lon2_deg = 9.5
| label2   = Balzers
| pos2     = left
}}

Location map+, using AlternativeMap

Location map/data/Liechtenstein is located in Liechtenstein
Vaduz
Vaduz
Balzers
Balzers
Two locations in Liechtenstein
{{Location map+ | Liechtenstein
| AlternativeMap = Liechtenstein location map Topographic.png
| width   = 250
| caption = Two locations in Liechtenstein
| places  =
  {{Location map~ | Liechtenstein
  | lat_deg  = 47.141
  | lon_deg  = 9.521
  | label    = Vaduz
  | position = left
  }}
  {{Location map~ | Liechtenstein
  | lat_deg  = 47.067
  | lon_deg  = 9.5
  | label    = Balzers
  | position = left
  }}
}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Liechtenstein',
	top = 47.2952,
	bottom = 47.0298,
	left = 9.3726,
	right = 9.7287,
	image = 'Liechtenstein location map.svg',
	image1 = 'Liechtenstein location map Topographic.png'
}