Module:Location map/data/Vancouver Island
MyWikiBiz, Author Your Legacy — Friday November 01, 2024
Jump to navigationJump to searchLua error: expandTemplate: template "coord" does not exist.
Module: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
image = Vancouver Island contour map.png
- The default map image, without "Image:" or "File:"
top = 50.9
- Latitude at top edge of map, in decimal degrees
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.1 degrees.
- At an image width of 200 pixels, that is 0.0405 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0081 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
- Module:Location map/data/Canada
- Module:Location map/data/Canada British Columbia
- Module:Location map/data/Canada Vancouver
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
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' }