@squawk
    Preparing search index...

    Interface RouteLeg

    A single leg between two consecutive geographic points in a parsed route.

    interface RouteLeg {
        cumulativeDistanceNm: number;
        distanceNm: number;
        from: string;
        fromLat: number;
        fromLon: number;
        to: string;
        toLat: number;
        toLon: number;
    }
    Index

    Properties

    cumulativeDistanceNm: number

    Cumulative distance from the route start through the end of this leg in nautical miles.

    distanceNm: number

    Great-circle distance of this leg in nautical miles.

    from: string

    Identifier or raw token of the starting point.

    fromLat: number

    Latitude of the starting point in decimal degrees, positive north.

    fromLon: number

    Longitude of the starting point in decimal degrees, positive east.

    to: string

    Identifier or raw token of the ending point.

    toLat: number

    Latitude of the ending point in decimal degrees, positive north.

    toLon: number

    Longitude of the ending point in decimal degrees, positive east.