Difference between revisions of "Module:Location map/data/Canada Vancouver/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Qyd
m (pipe cat)
m (21 revisions imported)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template doc page}}
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->  
<!--
+
{{Module:Location map/data/doc
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
+
|image =
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
+
|examples=
-->
 
This map templates is to be used in conjunction with {{tl|Location map}} to display a dot on a [[Metro Vancouver]] map when location is given. It can also be used as part of {{tl|Infobox Settlement}} using the "pushpin_map" parameters.
 
==Parameters==
 
[[image:GVA-map.png|right|thumb|220px|Location map Vancouver]]
 
{| class="wikitable" width="240"
 
|-
 
| align="center" colspan="2" style="background-color:#DDD; color:#000" | '''Coordinates'''
 
|-
 
| Top || 49.57149
 
|-
 
| Bottom || 49.0000
 
|-
 
| Left || -123.44166
 
|-
 
| Right || -122.38195
 
|}
 
  
==Usage==
+
|see also =  
See {{tl|Location map}} for full syntax (e.g. button size, text, caption)
+
* [[Module:Location map/data/Canada]]
 
+
* [[Module:Location map/data/Canada British Columbia]]
*Using degree-minute-second
 
<pre>
 
{{Location map
 
|Canada Vancouver
 
|lon_dir    = W   
 
|lat_dir    = N
 
|lat_deg    =
 
|lat_min    =
 
|lat_sec    =
 
|lon_deg    =
 
|lon_min    =
 
|lon_sec    =
 
|caption    = Location of {{subst:PAGENAME}} in [[Metro Vancouver]]
 
|width      = 220
 
 
}}
 
}}
</pre>
 
 
*Using decimal degrees
 
<pre>
 
{{Location map|Canada Vancouver|lat=|long=-|caption= Location of {{subst:PAGENAME}} in [[Metro Vancouver]]}}
 
</pre>
 
 
 
<includeonly>
 
<includeonly>
 
+
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
 
[[Category:Canada location map templates|Vancouver]]
 
[[Category:Canada location map templates|Vancouver]]
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
 
 
 
</includeonly>
 
</includeonly>

Latest revision as of 06:33, 27 September 2020


Location map of Vancouver
name Vancouver
border
coordinates
49.57149
-123.44166 ←↕→ -122.38195
49
map center Lua error: callParserFunction: function "#coordinates" was not found.
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