Maps in Mediawiki: Difference between revisions

From Squirrel's Lair
mNo edit summary
Line 17: Line 17:
== Display a location as a map ==
== Display a location as a map ==
* Openlayers
* Openlayers
{{#cargo_query: table=Places
{{#cargo_query: table=Place
|format  = openlayers
|format  = openlayers
|fields  = Name, DescriptionC, oordinates
|fields  = Name, DescriptionC, oordinates

Revision as of 13:59, 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

Here is a template call that encodes a place with coordinates (see edit view).


  • Cargo


Display a location as a map

  • Openlayers
Error: No field named "DescriptionC" found for any of the specified database tables.