Module:Location map/data/Canada Southern Ontario

From HandWiki
< Module:Location map
Revision as of 15:24, 24 January 2019 by imported>MusikAnimal (Protected "Module:Location map/data/Canada Southern Ontario": High-risk module ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Location map of Southern Ontario
name Southern Ontario
border
coordinates
46.4
-84.7 ←↕→ -74
41.4
map center [ ⚑ ] 43°54′N 79°21′W / 43.9°N 79.35°W / 43.9; -79.35
image Canada Southern Ontario location map 2.png
Canada Southern Ontario location map 2.png
image1 Canada Southern Ontario relief location map.jpg
Canada Southern Ontario relief location map.jpg
image2 Canada Southern Ontario location map.png
Canada Southern Ontario location map.png


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

Map definition

  • name = Southern Ontario
    Name used in the default map caption
  • bottom = 41.4
    Latitude at bottom edge of map, in decimal degrees
  • left = -84.7
    Longitude at left edge of map, in decimal degrees
  • right = -74
    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 10.7 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Southern Ontario',
	top = 46.4,
	bottom = 41.4,
	left = -84.7,
	right = -74.0,
	image = 'Canada Southern Ontario location map 2.png',
	image1 = 'Canada Southern Ontario relief location map.jpg',
	image2 = 'Canada Southern Ontario location map.png'
}