RangeCalculationOptions
public struct RangeCalculationOptions
Options for range calculation.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init ( origin: ItineraryPoint, budgets: Set<Budget>, vehicle: Vehicle = Car(), costModel: CostModel? = nil, departAt: Date? = nil, routeToInclude: [CLLocationCoordinate2D]? = nil, queryOptions: QueryOptions? = nil ) throwsParameters
originThe starting location of the range.
budgetsBudgets that limit the range. All budgets must be of the same type.
vehicleThe vehicle dimensions, restrictions and engine parameters.
costModelOptions governing which paths to prefer.
departAtA departure time for the route.
routeToIncludeA polyline that must be fully included in the range.
queryOptionsOptions regarding the way the request is sent to the server.
-
The starting location of the range.
Declaration
Swift
public var origin: ItineraryPoint -
Budgets that limit the range. All budgets must be of the same type.
Declaration
Swift
public var budgets: Set<Budget> -
The vehicle dimensions, restrictions and engine parameters.
Declaration
Swift
public var vehicle: Vehicle -
Options governing which paths to prefer.
Declaration
Swift
public var costModel: CostModel? -
A departure time for the route.
Declaration
Swift
public var departAt: Date? -
Options regarding the way the request is sent to the server.
Declaration
Swift
public var queryOptions: QueryOptions?
RangeCalculationOptions Structure Reference