AlternativeRoutesProviderSettings | iOS SDK | Urbi Documentation
iOS SDK

AlternativeRoutesProviderSettings

Extends: Hashable
public static func == (lhs: AlternativeRoutesProviderSettings, rhs: AlternativeRoutesProviderSettings) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

Flag to enable/disable the suggestion of alternative routes. By default, suggestion of alternative routes is enabled.

Flag to enable/disable the suggestion of a better route. By default, the better route suggestion is enabled.

Delay before searching for alternative routes when starting a trip on a route or after switching to another route. Must be at least 5 seconds. The default is 20 seconds.

Minimum difference in travel time between the original route and the alternate route at which the alternate route is considered a better route.

Minimum cumulative length of route edges that differ between the original route and the alternate route, at which the alternate route is considered the better route.