Module:Location map/data/Canada Nunavut
Appearance
name | Nunavut | |||
---|---|---|---|---|
border coordinates | ||||
84.37 | ||||
-122.8 | ←↕→ | -43.2 | ||
50.4 | ||||
map center | 67°23′06″N 83°00′00″W / 67.385°N 83°W | |||
x | 100 * ( (218/521*100)/100 + ( 1/(512/638)/2 - (-100/638*100)/(512/638)/100 ) * ( 1 - 2.486* ($1-67.395) * ( 0.01745329252 + 0.00000177219231 * ($1-67.395) * ($1-67.395) ) ) * ( ($2 -(-90)) * 0.958 * ( 0.01745329252 - 0.000000886096156 * ($2 -(-90)) * ($2 -(-90)) * 0.958 * 0.958))) | |||
y | 100 * (84.37 - $1) / (84.37 - 50.4) round 1 | |||
image | Canada Nunavut location map-lambert proj3.svg
| |||
![]() |
Module:Location map/data/Canada Nunavut is a location map definition used to overlay markers and labels on an equirectangular projection map of Nunavut. 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 Nunavut":
{{Location map|Canada Nunavut |...}}
{{Location map many|Canada Nunavut |...}}
{{Location map+|Canada Nunavut |...}}
{{Location map~|Canada Nunavut |...}}
Map definition
name = Nunavut
- Name used in the default map caption
image = Canada Nunavut location map-lambert proj3.svg
- The default map image, without "Image:" or "File:"
top = 84.37
- Latitude at top edge of map, in decimal degrees
bottom = 50.4
- Latitude at bottom edge of map, in decimal degrees
left = -122.8
- Longitude at left edge of map, in decimal degrees
right = -43.2
- Longitude at right edge of map, in decimal degrees
x = 100 * ( (218/521*100)/100 + ( 1/(512/638)/2 - (-100/638*100)/(512/638)/100 ) * ( 1 - 2.486* ($1-67.395) * ( 0.01745329252 + 0.00000177219231 * ($1-67.395) * ($1-67.395) ) ) * ( ($2 -(-90)) * 0.958 * ( 0.01745329252 - 0.000000886096156 * ($2 -(-90)) * ($2 -(-90)) * 0.958 * 0.958)))
- 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 = 100 * (84.37 - $1) / (84.37 - 50.4) round 1
- 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 79.6 degrees.
- At an image width of 200 pixels, that is 0.398 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0796 degrees per pixel.
Latitude: from North to South this map definition covers 33.97 degrees.
- At an image height of 200 pixels, that is 0.1699 degrees per pixel.
- At an image height of 1000 pixels, that is 0.034 degrees per pixel.
See also
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 = 'Nunavut',
top = 84.37,
bottom = 50.4,
left = -122.8,
right = -43.2,
x = "100 * ( (218/521*100)/100 + ( 1/(512/638)/2 - (-100/638*100)/(512/638)/100 ) * ( 1 - 2.486* ($1-67.395) * ( 0.01745329252 + 0.00000177219231 * ($1-67.395) * ($1-67.395) ) ) * ( ($2 -(-90)) * 0.958 * ( 0.01745329252 - 0.000000886096156 * ($2 -(-90)) * ($2 -(-90)) * 0.958 * 0.958)))",
y = "100 * (84.37 - $1) / (84.37 - 50.4) round 1",
image = "Canada Nunavut location map-lambert proj3.svg"
}