وحدة:Location map/data/Vancouver Island


خريطة موقع Vancouver Island
الاسم Vancouver Island
احداثيات
الحدود
50.9
-129.3 ←↕→ -121.2
48.7
مركز الخريطة 49°48′N 125°15′W / 49.8°N 125.25°W / 49.8; -125.25
x 14.500961*($2 + 129.33431) + 7.6005899*($1 - 50.957789)
y 5.8784868*($2 + 129.33431) - 23.076855*($1 - 50.947789)
الصورة Vancouver Island contour map.png
Vancouver Island contour map.png


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

Map definition

  • name = Vancouver Island
    Name used in the default map caption
  • bottom = 48.7
    Latitude at bottom edge of map, in decimal degrees
  • left = -129.3
    Longitude at left edge of map, in decimal degrees
  • right = -121.2
    Longitude at right edge of map, in decimal degrees
  • x = 14.500961*($2 + 129.33431) + 7.6005899*($1 - 50.957789)
    An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
  • y = 5.8784868*($2 + 129.33431) - 23.076855*($1 - 50.947789)
    An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge

Precision

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

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

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

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


See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List

return {
	name = 'Vancouver Island',
	top = 50.9,
	bottom = 48.7,
	left = -129.3,
	right = -121.2,
	x = '14.500961*($2 + 129.33431) + 7.6005899*($1 - 50.957789)',
	y = '5.8784868*($2 + 129.33431) - 23.076855*($1 - 50.947789)',
	image = 'Vancouver Island contour map.png'
}