Hi, I'm creating a website that uses OSM: https://www.marcopanichi.com/work/trasimenobike/trasimeno-bike-park/percorsi/ I would display on this map some GPX traces. How to do this? I read many times these threads but I'm really missing out the point :/ https://stackoverflow.com/questions/23654251/draw-path-in-openstreetmap https://forum.openstreetmap.org/viewtopic.php?id=63585 asked 27 Aug '22, 09:22 Marco Panichi |
You are using the Leaflet library to display your map. You will have to create one or more additional layers in Leaflet showing your GPX track. Leaflet cannot show GPX tracks out of the box; you will either have to convert them a to GeoJSON (for example with the Open Source software QGIS), or you will have to install a Leaflet plugin that makes it possible to read GPX directly into Leaflet. answered 27 Aug '22, 11:28 Frederik Ramm ♦ Ok thank you :) I've converted my GPX into GeoJSON format with this tool: https://mygeodata.cloud/converter/gpx-to-geojson I've got many files:
Now, the question is: how to show these layers(?) into my map?
(08 Sep '22, 09:11)
Marco Panichi
|