Package-level declarations

Types

Link copied to clipboard
data class AlternativeRoutesOptions(val maxAlternatives: Int, val alternativeType: AlternativeType? = null, val minDeviationDistance: <Error class: unknown class>? = null, val minDeviationTime: <Error class: unknown class>? = null)

Specifies options related to alternative routes.

Link copied to clipboard
value class AlternativeType

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

Link copied to clipboard
data class AvoidOptions(val avoidTypes: Set<AvoidType> = emptySet(), val avoidAreas: Set<<Error class: unknown class>> = emptySet(), val vignettes: Vignettes? = null)

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
value class ConsiderTraffic

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
value class Windingness

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