ru.dgis.sdk.navigation.AlternativeRoutesProviderSettings | Android SDK | 2GIS Documentation
Android SDK

AlternativeRoutesProviderSettings

Settings of searching for alternative routes and a better route.

Properties

Flag to enable/disable suggesting alternative routes. By default, this option is enabled.

Flag to enable/disable suggesting a better route. By default, this option is enabled.

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

Minimum travel time difference between the original route and the alternative route for which the alternative route is considered a better route.

Minimum total length of route edges that differ between the original route and the alternative route at which the alternative route is considered a better route.

Type of a search engine for finding alternative routes.