export options

This commit is contained in:
vcoppe
2024-07-23 11:20:31 +02:00
parent 1be9059e39
commit 75d9813fe0
13 changed files with 258 additions and 4279 deletions

View File

@@ -61,9 +61,8 @@ export function parseGPX(gpxData: string): GPXFile {
return new GPXFile(parsed);
}
export function buildGPX(file: GPXFile): string {
const gpx = file.toGPXFileType();
export function buildGPX(file: GPXFile, exclude: string[]): string {
const gpx = file.toGPXFileType(exclude);
const builder = new XMLBuilder({
format: true,