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

    Interface MapLibreGlDirectionsMoveWaypointData

    Data payload for the movewaypoint and beforemovewaypoint events.

    interface MapLibreGlDirectionsMoveWaypointData {
        index: number;
        initialCoordinates?: [number, number];
        newCoordinates?: [number, number];
    }

    Hierarchy (View Summary)

    Index
    index: number

    The index of the waypoint that was moved.

    initialCoordinates?: [number, number]

    The coordinates from which the waypoint was moved.

    newCoordinates?: [number, number]

    The coordinates to which the waypoint was moved.

    Only present for the movewaypoint event.