Module:Location map/data/Italy Piedmont

From imedwiki
Jump to navigation Jump to search


Location map of Piedmont
name Piedmont
border
coordinates
46.5
6.6 ←↕→ 9.2335
44.0336
map center 45°16′00″N 7°55′00″E / 45.2668°N 7.91675°E / 45.2668; 7.91675
image Italy Piemonte location map.svg
Italy Piemonte location map.svg
image1 Piemonte relief location map.jpg
Piemonte relief location map.jpg
image2 Italia Piemonte location map 2.svg
Italia Piemonte location map 2.svg


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

Map definition

  • name = Piedmont
    Name used in the default map caption
  • bottom = 44.0336
    Latitude at bottom edge of map, in decimal degrees
  • left = 6.6
    Longitude at left edge of map, in decimal degrees
  • right = 9.2335
    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. The map displayed as image2 can be used with the AlternativeMap parameter. Examples may be found below or in the following:

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Piedmont',
	top = 46.5,
	bottom = 44.0336,
	left = 6.6,
	right = 9.2335,
	image = 'Italy Piemonte location map.svg',
	image1 = 'Piemonte relief location map.jpg',
	image2 = 'Italia Piemonte location map 2.svg'
}