@honua/sdk-js
    Preparing search index...

    Interface SampleElevationProfileOptions

    interface SampleElevationProfileOptions {
        line: readonly ElevationCoordinate[];
        sampleCount?: number;
        sampler: ElevationSampler;
    }
    Index

    Properties

    line: readonly ElevationCoordinate[]

    The polyline to sample, as [lon, lat] vertices (>= 2 required).

    sampleCount?: number

    Number of evenly spaced samples (including both endpoints). Defaults to Math.max(2, line.length). Clamped to a minimum of 2.

    How elevation is resolved at each sampled coordinate.