Package-level declarations

Types

Link copied to clipboard
data class AlternativeRoutesOptions(val maxAlternatives: Int = 1, val alternativeType: AlternativeType? = null, val minDeviationDistance: Distance? = null, val minDeviationTime: Duration? = null)

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())

Specifies avoidance criteria.

Link copied to clipboard
value class AvoidType

Defines what kind of roads should be avoided while calculating a route.

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)

Criteria that specify what paths to prefer during routing.

Link copied to clipboard
value class Hilliness

Represents the 'hilliness' parameter in a Request to the Routing API.

Link copied to clipboard
abstract class RouteType

This represents the 'routeType' parameter in a Request to the Routing API.

Link copied to clipboard
abstract class Vignettes

Either of Vignettes.Allow or Vignettes.Avoid.

Link copied to clipboard

Specifies whether to optimize the order of waypoints, and if so, how.

Link copied to clipboard

Represents the 'windingness' parameter in a Request to the Routing API.