File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change 411411 // check track validity after filtering
412412 if ( ! track ?. [ 0 ] ?. Time ) return showToast ( "Error in trackfile (no time or empty)." , "error" ) ;
413413 let lastTime = 0 ;
414+ //const trackType = ... -> `<type>${trackType}</type>`
414415 const gpx = `<?xml version="1.0" encoding="UTF-8"?>
415416<gpx creator="Bangle.js" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
416417 <metadata><time>${ track [ 0 ] . Time . toISOString ( ) } </time></metadata>
You can’t perform that action at this time.
0 commit comments