SDK JS
    Preparing search index...

    A completed (or in-progress) profile run.

    interface ProfileRun {
        provisional: boolean;
        samples: readonly (ProfileSample & ProfileStation)[];
        stats: ProfileStats;
        terrainOff: boolean;
    }
    Index

    Properties

    provisional: boolean

    True while DEM tiles are still streaming (the run re-samples on map 'idle').

    samples: readonly (ProfileSample & ProfileStation)[]

    The sampled stations with elevations (line order).

    Summary statistics over ProfileRun.samples.

    terrainOff: boolean

    True when MapLibre terrain is disabled — the profile is flat zero.