leaflet-plotter icon indicating copy to clipboard operation
leaflet-plotter copied to clipboard

Export to JSON or GPX

Open navivfr opened this issue 9 years ago • 1 comments

Hello, Nice job !

There is a way to export path to JSON or GPX (even to a database so user can retrieve their different path) ? the project : http://data.navivfr.fr/carto/

BR.

navivfr avatar Jul 13 '15 06:07 navivfr

I personally think this is beyond the scope of this plugin, you can fairly easily generate the JSON client or server side by using plottedPolyline.getLatLngs(); and then manipulating the data as is.

scripter-co avatar Aug 14 '15 09:08 scripter-co