Skip to content

Commit

Permalink
fix adding elevation to multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
vcoppe committed Sep 4, 2024
1 parent e48789b commit f846b03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gpx/src/gpx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ export class GPXFile extends GPXTreeNode<Track>{
waypoint.ele = elevations[index++];
}
});
elevations.splice(0, index);
}

setStyle(style: LineStyleExtension) {
Expand Down

0 comments on commit f846b03

Please sign in to comment.