Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Aug 16, 2024
1 parent 04c7598 commit 002d02b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const chunkArray = (array, chunkSize) => {
const downloadGpx = ({ gpx, markers, meta }) => {
const link = document.createElement("a");
const source = gpx.xmlSource;
const root = source.getElementsByTagName("gpx")[0];
for (let i = 0; i < markers.length; i++) {
const wpt = markers[i];
const node = source.createElementNS(
Expand Down

0 comments on commit 002d02b

Please sign in to comment.