deviationReplanningMode
Controls how the route deviations are handled. When the deviation is detected the RouteTrackingStateUpdatedListener provides a RouteTrackingState with a RouteTrackingState.hasDeviated property set to true.
When set to DeviationReplanningMode.Automatic, the navigation replans the route automatically, informs about the new route via RouteAddedListener and ActiveRouteChangedListener and that the previously active route was removed by RouteRemovedListener.
When set to DeviationReplanningMode.None, the navigation will not replan the route.
Is set to DeviationReplanningMode.Automatic by default.
Throws
if the instance of TomTomNavigation has been closed before.