Difference between revisions of "Module:Location map/data/Vancouver Island/doc"
Jump to navigation
Jump to search
blackwiki>Frietjes (←Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{Location map/Info}} == Usage == <includeonly>{{#ife...') |
m (3 revisions imported) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| − | {{Location map/ | + | {{Module:Location map/data/doc |
| − | = | + | | see also = |
| + | * [[Module:Location map/data/Canada]] | ||
| + | * [[Module:Location map/data/Canada British Columbia]] | ||
| + | * [[Module:Location map/data/Canada Vancouver]] | ||
| − | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | + | }}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
<!-- Categories go here and interwikis go in Wikidata. --> | <!-- Categories go here and interwikis go in Wikidata. --> | ||
[[Category:Canada location map templates|Vancouver Island]] | [[Category:Canada location map templates|Vancouver Island]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 07:42, 27 September 2020
| name | Vancouver Island | |||
|---|---|---|---|---|
| border coordinates | ||||
| 50.9 | ||||
| -129.3 | ←↕→ | -121.2 | ||
| 48.7 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| 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
| |||
| ||||
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.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "Vancouver Island":
{{Location map | Vancouver Island | ...}}{{Location map many | Vancouver Island | ...}}{{Location map+ | Vancouver Island | ...}}{{Location map~ | 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
