CalculateRangeOptions

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

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.