We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe3a8a6 commit 814c1f4Copy full SHA for 814c1f4
src/sidebar/RoutingResults.tsx
@@ -683,9 +683,11 @@ function downloadGPX(path: Path, settings: Settings) {
683
trackPoint += '</trkpt>\n'
684
return prevString + trackPoint
685
}, '')
686
- xmlString += '</trkseg></trk>\n</gpx>'
+ xmlString += '</trkseg></trk>\n'
687
}
688
689
+ xmlString += '</gpx>'
690
+
691
const tmpElement = document.createElement('a')
692
const file = new Blob([xmlString], { type: 'application/gpx+xml' })
693
tmpElement.href = URL.createObjectURL(file)
0 commit comments