Closed marcoA152 closed 1 year ago
Hi Marco,
probably when using the L.GpxGroup
class the following variable is not setted:
this._downloadURL = url; // see: leaflet-elevation/src/control.js#741
Take a look at this other https://github.com/Raruto/leaflet-elevation/pull/160#issuecomment-1002209215 to start monkey patching that class as you wish (aka L.Class.include()).
👋 Raruto
Thank you i will try the way you have suggested, but but probably the fastest (and dirt) thing to do is to put a direct anchor to the gpx files under the "elevation-div"
Thanks for your work and for this amazing plugin!
Hallo. I'm sorry to bother you but I struggling with this (my) issue: I'm trying to add a Download button to a multiple .gpx tracks map from your examples. On single gpx file map the button is shown but on multiple gpx map is not present. There is a way to add it?
Thanks in advance