Off Route Detector
Parameters
callback
a callback that is fired for different off-route scenarios.
Functions
Link copied to clipboard
Clears the RingBuffer used for tracking our recent distances away from the maneuver that is being driven towards.
Link copied to clipboard
open override fun isUserOffRoute(location: Location, routeProgress: RouteProgress, options: MapLibreNavigationOptions): Boolean
Method in charge of running a series of test based on the device current location and the user progress along the route.