Difference between pages "Category:Pages with a map rendered by the Maps extension" and "User:Andrew Cooks"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
m (How to use the Maps extension: tilde swin ton)
 
(Created page with " acooks+lca2015@gmail.com")
 
Line 1: Line 1:
== About the Maps extension for MediaWiki ==
 
The LCA2015 Delegate Wiki is embedding interactive maps directly onto wiki pages, to make it more convenient for delegates to find relevant locations without having to leave the wiki. This facility is provided via the [[mw:Extension:Maps|Maps]] Extension for MediaWiki.
 
  
== Why only Google Maps are showing ==
+
acooks+lca2015@gmail.com
Our hacking on the Maps extension so far has shown that without the added support of the full [[mw:Extension:Semantic_MediaWiki|Semantic MediaWiki]] (SMW) installation, the Maps extension works sufficiently, but only with Google Maps. To enable the full featureset of the Maps extension would require installing SMW, which seems extreme for what we need here. While the openness and freedom of OpenStreetMap would be more in keeping with the ethos of Linux and the LCA, minimalism is also a lofty goal.
+
 
+
== How to use the Maps extension ==
+
We are mainly using the '''<nowiki>{{#display_map:}}</nowiki>''' method of the extension, and it requires at least one location as a parameter, which can be passed either as an address or coordinates.
+
<pre>{{
+
#display_map:
+
12 Grafton Rd, Auckland
+
}}</pre>
+
 
+
<pre>{{
+
#display_map:
+
-36.852881,174.771341
+
}}</pre>
+
To add more locations to a map, terminate all but the final one with a semicolon (;) character
+
<pre>{{
+
#display_map:
+
12 Grafton Rd, Auckland;
+
22 Symonds St, Auckland;
+
14 Whitaker Pl, Auckland;
+
26 Nicholls Ln, Auckland
+
}}</pre>
+
To add a popup note to the location on the map, add a field using the tilde (~) character. This becomes the title of your popup, and can include any wikitext, including internal and external links.
+
<pre>{{
+
#display_map:
+
12 Grafton Rd, Auckland~[[Location|Owen G Glen Building (OGGB)]]
+
}}</pre>
+
To add descriptive text under the title of the popup, add a second field with a second tilde (~) character. Again, this can include any wikitext, including internal and external links.
+
<pre>{{
+
#display_map:
+
12 Grafton Rd, Auckland~Owen G Glen Building~This will be the main venue for the conference.
+
}}</pre>
+
[[Category:Help Files]]
+

Revision as of 17:07, 6 January 2015

acooks+lca2015@gmail.com

Pages in category "Pages with a map rendered by the Maps extension"

The following 3 pages are in this category, out of 3 total.