We retrieve trail and marker data from json asset files and render these variously on Leaflet maps. github
The script fetches trails.json and markers.json as adjacent Assets in the script folder. Leaflet will retrieve and mark the viewer's current location if available.
Trails once visited are marked by red dots and lines which link to Pandemic Wandering pages. Markers link to google turn by turn directions to interesting places to explore.
We want to compose full-page mobile-friendly maps with data from our collection of trails. We will follow the Leaflet quick-start and mobile tutorials.
Include a working example if possible. expand
https://ward.eu.wiki.org/assets/pages/leaflet-maps/trails.html HEIGHT 600