CalculateRangeOptions

data class CalculateRangeOptions(    val origin: ItineraryPoint,     val budget: Budget,     val vehicle: Vehicle,     val costModel: CostModel? = null,     val departAt: Date? = null,     val maxFerryLength: Distance? = null,     val chargeMargins: Set<Energy> = emptySet(),     val queryOptions: QueryOptions? = null)

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.

budget

A budget that limits the range.

costModel

Options governing which streets to prefer.

departAt

Departure time.

maxFerryLength

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

chargeMargins

A set of remaining energy budgets for which range polygons are created.

vehicle

The vehicle to be used.

queryOptions

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

Constructors

Link copied to clipboard
fun CalculateRangeOptions(    origin: ItineraryPoint,     budget: Budget,     vehicle: Vehicle,     costModel: CostModel? = null,     departAt: Date? = null,     maxFerryLength: Distance? = null,     chargeMargins: Set<Energy> = emptySet(),     queryOptions: QueryOptions? = null)

Properties

Link copied to clipboard
val budget: Budget
Link copied to clipboard
val chargeMargins: Set<Energy>
Link copied to clipboard
val costModel: CostModel? = null
Link copied to clipboard
val departAt: Date? = null
Link copied to clipboard
val maxFerryLength: Distance? = null
Link copied to clipboard
val origin: ItineraryPoint
Link copied to clipboard
val queryOptions: QueryOptions? = null
Link copied to clipboard
val vehicle: Vehicle