Module:Location map/data/Canada Quebec

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


Location map of Quebec
name Quebec
border
coordinates
62.8
-81 ←↕→ -56.5
44.7
map center 53°45′N 68°45′W / 53.75°N 68.75°W / 53.75; -68.75
image Canada Quebec location map 2.svg
Canada Quebec location map 2.svg
image1 Canada Quebec relief location map.jpg
Canada Quebec relief location map.jpg


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

Map definition

  • name = Quebec
    Name used in the default map caption
  • bottom = 44.7
    Latitude at bottom edge of map, in decimal degrees
  • left = -81
    Longitude at left edge of map, in decimal degrees
  • right = -56.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 24.5 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Quebec',
	top = 62.8,
	bottom = 44.7,
	left = -81.0,
	right = -56.5,
	image = 'Canada Quebec location map 2.svg',
	image1 = 'Canada Quebec relief location map.jpg'
}