Package-level declarations

Types

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

Specifies options related to alternative routes.

Link copied to clipboard

Specifies the type of alternative route for which to search.

Link copied to clipboard

Represents the preference for the road side on arrival for waypoints and destination.

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

Specifies avoidance criteria.

Link copied to clipboard
value class AvoidType

Defines what kind of roads should try to be avoided while calculating a route. There is no guarantee that roads with these attributes will be avoided. Use the Sections to check for violations.

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 use live traffic in the route calculation.

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

Specifies the degree of hilliness required for a thrilling route.

Link copied to clipboard
abstract class RouteType

Specifies the general strategy for selecting roads during route calculation.

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

Specifies the degree of curvature required for a thrilling route.