Module:Location map/data/Canada Vancouver

From imedwiki
Jump to navigation Jump to search


Location map of Vancouver
name Vancouver
border
coordinates
49.57149
-123.44166 ←↕→ -122.38195
49
map center 49°17′09″N 122°54′42″W / 49.285745°N 122.911805°W / 49.285745; -122.911805
image GVA-map.png
GVA-map.png


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

Map definition

  • name = Vancouver
    Name used in the default map caption
  • image = GVA-map.png
    The default map image, without "Image:" or "File:"
  • bottom = 49
    Latitude at bottom edge of map, in decimal degrees
  • left = -123.44166
    Longitude at left edge of map, in decimal degrees
  • right = -122.38195
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Vancouver',
	top = 49.57149,
	bottom = 49.0000,
	left = -123.44166,
	right = -122.38195,
	image = 'GVA-map.png'
}