Package com.tomtom.sdk.routing.common.options.calculation
Types
Link copied to clipboard
data class AlternativeRoutesOptions( val maxAlternatives: Int = 1, val alternativeType: AlternativeType? = null, val minDeviationDistance: Distance? = null, val minDeviationTime: Duration? = null)
Content copied to clipboard
Specifies options related to alternative routes.
Link copied to clipboard
Represents the 'alternativeType' parameter in a Request to the Routing API.
Link copied to clipboard
data class AvoidOptions( val avoidTypes: Set<AvoidType> = emptySet(), val vignettes: Vignettes? = null, val avoidAreas: Set<GeoBoundingBox> = emptySet())
Content copied to clipboard
Specifies avoidance criteria.
Link copied to clipboard
Specifies whether to return additional travel times using different types of traffic information (none, historic, live) as well as the default best-estimate travel time.
Link copied to clipboard
Specifies whether to ignore traffic.
Link copied to clipboard
data class CostModel( val routeType: RouteType = RouteType.Fast, val considerTraffic: ConsiderTraffic = ConsiderTraffic.YES, val avoidOptions: AvoidOptions? = null)
Content copied to clipboard
Criteria that specify what paths to prefer during routing.
Link copied to clipboard
Represents the 'windingness' parameter in a Request to the Routing API.