Jump to content

Module:Location map/data/Canton of Thurgau

From Simple English Wikipedia, the free encyclopedia
Revision as of 17:15, 8 December 2016 by Tobyc75 (talk | changes) (Tobyc75 moved page Module:Location map/data/SwitzerlandThurgau to Module:Location map/data/Canton of Thurgau without leaving a redirect: Mistake in naming the Module)

Usage

Location map of SwitzerlandThurgau
name SwitzerlandThurgau
border
coordinates
47.8
8.5 ←↕→ 9.5
47.3
map center 47°33′N 9°00′E / 47.55°N 9°E / 47.55; 9
image Reliefkarte Thurgau blank.png
image1 Reliefkarte Thurgau.png
Map of Thurgau in Switzerland

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

Map definition

  • name = SwitzerlandThurgau
    Name used in the default map caption
  • bottom = 47.3
    Latitude at bottom edge of map, in decimal degrees
  • left = 8.5
    Longitude at left edge of map, in decimal degrees
  • right = 9.5
    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 1 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Location map/data/Canton of Thurgau is located in SwitzerlandThurgau
Frauenfeld
Frauenfeld
Arbon
Arbon
Romanshorn
Romanshorn
Konstanz
Konstanz
Binnenkanal
Binnenkanal
Location map/data/Canton of Thurgau (SwitzerlandThurgau)

See also

Location map templates

Creating new map definitions

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


return {
	name = 'SwitzerlandThurgau',
	top = 47.8,
	bottom = 47.3,
	left = 8.5,
	right = 9.5,
	image = 'Reliefkarte Thurgau blank.png',
	image1 = 'Reliefkarte Thurgau.png'
}