fix adding elevation to multiple files
This commit is contained in:
parent
e48789bb75
commit
f846b03e74
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ export class GPXFile extends GPXTreeNode<Track>{
|
|||
waypoint.ele = elevations[index++];
|
||||
}
|
||||
});
|
||||
elevations.splice(0, index);
|
||||
}
|
||||
|
||||
setStyle(style: LineStyleExtension) {
|
||||
|
|
Loading…
Reference in a new issue