removeWaypoint

Removes a waypoint from the current route.

The waypoint must be present in the current NavigationState, which can be obtained via getNavigationState. The function works in the following states: