Closed clhenrick closed 7 years ago
For after a successful search when the user clicks the "download" button
[ ] format selected route data from GeoJSON to GPX
[ ] leverage browser Blobs to enable download
FileSaverJS seems to be the go to for enabling downloads: https://github.com/eligrey/FileSaver.js
Potential NodeJS library for doing the GeoJSON -> GPX conversion: https://github.com/tyrasd/togpx
Implemented in 4fb3bab
For after a successful search when the user clicks the "download" button
[ ] format selected route data from GeoJSON to GPX
[ ] leverage browser Blobs to enable download
FileSaverJS seems to be the go to for enabling downloads: https://github.com/eligrey/FileSaver.js
Potential NodeJS library for doing the GeoJSON -> GPX conversion: https://github.com/tyrasd/togpx