Maps in Mediawiki: Difference between revisions
Appearance
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) |
||
Line 25: | Line 25: | ||
{{#cargo_query: table=Place | {{#cargo_query: table=Place | ||
|format = openlayers | |format = openlayers | ||
|fields = Name, Description, Coordinates | |||
|width = 400 | |||
|height = 300 | |||
}} | |||
* [https://leafletjs.com/ Leaflet] | |||
{{#cargo_query: table=Place | |||
|format = leaflet | |||
|fields = Name, Description, Coordinates | |fields = Name, Description, Coordinates | ||
|width = 400 | |width = 400 |
Revision as of 13:28, 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).
Display a location as a map
Notes
- parameters:
- |icon = Squirrelslair 200.png - works, but poor visibility
- googlemaps would require billing