Interface MapLibreGlDirectionsMoveWaypointData

Data payload for the movewaypoint and beforemovewaypoint events.

Hierarchy

Properties

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.

Generated using TypeDoc