distanceToOffRoute property

double? distanceToOffRoute
getter/setter pair

How far the user must travel after leaving the route before a reroute is requested. Unit: meters (m).

Android: leaving the route is detected from heading and cross-track distance (tuned on real drives for cars and motorbikes); this value is the distance driven from that point. Default: 25 m. iOS: the maximum distance from the route before rerouting. Default: 50 m.

Implementation

double? distanceToOffRoute;