mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-03 09:12:30 +00:00
convert to simple gpx types before export to allow extra fields
This commit is contained in:
@@ -56,7 +56,9 @@ export function parseGPX(gpxData: string): GPXFile {
|
||||
}
|
||||
|
||||
|
||||
export function buildGPX(gpx: GPXFile): string {
|
||||
export function buildGPX(file: GPXFile): string {
|
||||
const gpx = file.toGPXFileType();
|
||||
|
||||
const builder = new XMLBuilder({
|
||||
format: true,
|
||||
ignoreAttributes: false,
|
||||
|
Reference in New Issue
Block a user