RangeCalculationOptions

data class RangeCalculationOptions(val origin: ItineraryPoint, val budgets: Set<Budget>, val vehicle: Vehicle = Vehicle.Car(), val costModel: CostModel? = null, val departAt: Date? = null, val routeToInclude: List<GeoPoint> = emptyList(), val queryOptions: QueryOptions = QueryOptions())

Options for range calculation.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

origin

The starting location of the range.

budgets

Budgets that limit the range. All budgets must be of the same type.

vehicle

The vehicle to be used.

costModel

Options governing which streets to prefer.

departAt

Departure date and time.

maxFerryLength

Maximum length of ferries to take into account for the range.

routeToInclude

A polyline that must be fully included in the range.

queryOptions

Options regarding the way the request is sent to the server.

Constructors

Link copied to clipboard
fun RangeCalculationOptions(origin: ItineraryPoint, budgets: Set<Budget>, vehicle: Vehicle = Vehicle.Car(), costModel: CostModel? = null, departAt: Date? = null, routeToInclude: List<GeoPoint> = emptyList(), queryOptions: QueryOptions = QueryOptions())

Properties

Link copied to clipboard
Link copied to clipboard
val costModel: CostModel? = null
Link copied to clipboard
val departAt: Date? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard