mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
clone metadata berfore export
This commit is contained in:
@@ -192,8 +192,8 @@ export class GPXFile extends GPXTreeNode<Track>{
|
||||
|
||||
toGPXFileType(): GPXFileType {
|
||||
return {
|
||||
attributes: this.attributes,
|
||||
metadata: this.metadata,
|
||||
attributes: cloneJSON(this.attributes),
|
||||
metadata: cloneJSON(this.metadata),
|
||||
wpt: this.wpt,
|
||||
trk: this.trk.map((track) => track.toTrackType())
|
||||
};
|
||||
|
Reference in New Issue
Block a user