Maps in Mediawiki: Difference between revisions

From Squirrel's Lair
mNo edit summary
Line 22: Line 22:


== Display a location as a map ==
== Display a location as a map ==
parameters:
* |icon = Squirrelslair 200.png - works, but poor visibility
* [https://openlayers.org/ Openlayers]
* [https://openlayers.org/ Openlayers]
{{#cargo_query: table=Place
{{#cargo_query: table=Place
Line 32: Line 29:
|height  = 300
|height  = 300
}}
}}
=== Notes ===
* parameters:
** |icon = Squirrelslair 200.png - works, but poor visibility


* googlemaps would require billing <!--
* googlemaps would require billing <!--

Revision as of 14:21, 2022 November 11

Testing the functionality of Cargo Displayformat Maps.

Encode a location

Template:Place defines Cargo Table Place.

As per https://www.google.com/maps

North Forge's location is 49.89959808249238, -97.14224677575343 WRC's Location is 49.88086121609553, -97.13063599481808

Here are the template calls (see edit view).


  • Cargo



  • Cargo


Display a location as a map

Notes

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