Maps in Mediawiki

From Squirrel's Lair

This page is a test ground and demo for using maps in mediawiki.

Maps extension

Maps extension with an inline Cargo query to set targets and a line

{{#display_map:

49.88086121609553, -97.13063599481808~WRC~<a rel="nofollow" class="external text" href="https://winnipegrowingclub.ca/">A rowing club</a>; 49.89959808249238, -97.14224677575343~North Forge~<a rel="nofollow" class="external text" href="https://northforge.ca/">A makerspace</a>

|lines= 49.89959808249238, -97.14224677575343:49.88086121609553, -97.13063599481808

 |copycoords=yes
 |resizable=on
 |layers=OpenStreetMap,Esri.WorldImagery 

}}

Cargo Displayformat Maps

Cargo Displayformat Maps

Notes

  • parameters:
    • |icon = Squirrelslair 200.png - works, but poor visibility
  • googlemaps would require billing

Encode locations

Template:Place defines Cargo Table Place.

Locations can be grabbed from Google Maps by right-clicking on an area and then clicking on the coordinates. They can be pasted into the Coordinates template paramater.

Here are the template calls (see edit view).


  • Cargo



  • Cargo