You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a track has no elevation ( tag), or if the first point of a track has no elevation, loading fails.
The culprit is line 488 in _parse_segment. The line
ll.meta.ele = last.meta.ele;
should be
if (last != null) { ll.meta.ele = last.meta.ele; }
The text was updated successfully, but these errors were encountered:
Without this change I get the following error message: Uncaught TypeError: Cannot read properties of null (reading 'meta') at i._parse_segment (gpx.js:488)
when elevation data is missing.
If a track has no elevation ( tag), or if the first point of a track has no elevation, loading fails.
The culprit is line 488 in _parse_segment. The line
ll.meta.ele = last.meta.ele;
should be
if (last != null) { ll.meta.ele = last.meta.ele; }
The text was updated successfully, but these errors were encountered: