Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thanks @TomazicM , But for sorry i am tied to Leaflet.Draw plugin, and using Leaflet.PM plugin will require to re-build the whole drawing functions of the web map that i'm working on.
It shows this statement in the console (warning: unsupported geometry type: undefined), and exports an empty gpx file. Is this an issue about getting selected lines as GeoJSON? or about converting it into GPX?
I have tested it, but it can't read property of color. So i have replaced "option" with "options", but it exports an empty GPX. I am not sure it should be "option" or "options".