@pond-ts/fit API Reference
    Preparing search index...

    Function trackLevels

    • Detail levels of a track, coarse to fine (see TrackLevel); empty without GPS. Every point is kept going in (no thinning first), so the cost grows with the track: a 100,000-point track takes a fraction of a second, but a very long, very jagged one can take far longer.

      Parameters

      • latlng: readonly (GeoPoint | null)[]
      • metres: readonly number[] = LEVEL_METRES

      Returns TrackLevel[]