ToleranceUtils

Functions

Link copied to clipboard
fun dynamicOffRouteRadiusTolerance(snappedPoint: Point, routeProgress: RouteProgress, navigationOptions: MapLibreNavigationOptions): Double

Reduce the offRouteMinimumDistanceMetersBeforeWrongDirection if we are close to an intersection. You can define these values in the navigationOptions