Maps in Mediawiki: Difference between revisions
Appearance
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) |
||
Line 21: | Line 21: | ||
}} | }} | ||
* [https://openlayers.org/ Openlayers] | |||
{{#cargo_query: table=Place | |||
|format = openlayers | |||
|fields = Name, Description, Coordinates | |||
|width = 400 | |||
|height = 300 | |||
}} | |||
* | * googlemaps | ||
{{#cargo_query: table=Place | {{#cargo_query: table=Place | ||
|format = | |format = googlemaps | ||
|fields = Name, Description, Coordinates | |fields = Name, Description, Coordinates | ||
|width = 400 | |width = 400 | ||
|height = 300 | |height = 300 | ||
}} | }} |
Revision as of 13:12, 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).
Display a location as a map
- data only
Name | Description | Coordinates |
---|---|---|
North Forge | A makerspace | 49.89959808249238, -97.14224677575343 |
WRC | A rowing club | 49.88086121609553, -97.13063599481808 |
- googlemaps