Help:Maps

From UBC Wiki
Jump to: navigation, search


You can add maps to the wiki. The following examples will get you going.


Basic map

{{#display_map:Vancouver,BC}}
Loading map...

Layers

{{#display_map:Vancouver, BC|layers=traffic}}
Loading map...

Fusion Tables

Google fusion tables

Vancouver Community Centres (table)

Loading map...

Resizing

{{#display_map:214-1961 East Mall Vancouver BC, V6T 1Z1|zoom=13|width=400|height=400}}
Loading map...

Maps with one point

Geo coordinate notation.

{{
#display_point:
49.261226, -123.1139268
}}
Loading map...

Displaying a single address.

{{
#display_point:
Vancouver, BC
}}
Loading map...

Maps with multiple points

Displaying multiple points using address notation.

{{
#display_points:
Vancouver, BC;
Calgary, AB;
Saskatoon, SK
}}
Loading map...

Displaying multiple points using different notations.

{{
#display_points:
49.261226, -123.1139268;
Calgary, AB;
52.1343699, -106.647656
}}
Loading map...

Customizing markers (point specific data)

Point specific data via tag extension in the format Location~Title~Label~Icon

<display_points type="terrain">
Vancouver, BC~Vancouver~A city in Canada
New York~New York city
Ottawa|[[Ottawa]]~Capital of Canada~File:Green_marker.png
Seattle, Washington
Calgary, AB~Calgary~File:Blue_marker.png
</display_points>
Loading map...

Zome and Center

{{
#display_point:
Vancouver, BC
| centre=Edmonton, AB
| zoom=5
}}
Loading map...