dispatchOnWaypointDeparted

abstract fun dispatchOnWaypointDeparted(waypoint: RouteStop, route: Route)

Dispatch WaypointArrivalListener.onWaypointDeparted.

It should be called whenever a waypoint is departed. This function updates the camera to CameraTrackingMode.FollowRouteDirection. Default behavior can be overridden with NavigationVisualization.setCameraTrackingMode.

Important: This is a Public Preview API. It may be changed or removed at any time.