BetterRouteProviderSettings | iOS SDK | 2GIS Documentation

BetterRouteProviderSettings

Route search settings are better.

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

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

The 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.

The delay before finding a route is better when starting a route trip or after switching to a suggested route is better. Must be at least 5 seconds.

Delay before route retrieval is better after the user has traveled past the suggested route is better. Must be at least 5 seconds.

Delay before route retrieval is better after the user has clearly rejected the suggested route better. Should be at least 5 seconds.