@maplibre/maplibre-gl-directions - v0.10.1
    Preparing search index...

    Interface MapLibreGlDirectionsAddWaypointData

    Data payload for the addwaypoint and beforeaddwaypoint events.

    interface MapLibreGlDirectionsAddWaypointData {
        coordinates: [number, number];
        index: number;
    }

    Hierarchy (View Summary)

    Index
    coordinates: [number, number]

    The added waypoint's coordinate.

    index: number

    The index at which the waypoint was added.