RangeCalculationOptions
Options for range calculation, that is, determining the boundary of the area reachable from an initial vehicle position given an energy, fuel, time, or distance budget.
Note: the parameter vehicle only supports vehicles that conform to the Motorized protocol.
Throws
if the set of budgets is empty or contains more than one budget, or if the vehicle's consumption is not set for the given budget type.
Constructors
Properties
The starting location of the range.
Options regarding the way the request is sent to the server.
A route that must be included in the range up to the reachable offset. It is used to visually align the range boundary with the reachable offset on the currently navigated route, if there is one. It is recommended to pass the navigated route here if it is displayed simultaneously with the range.
Inherited functions
Copies this object while allowing to change some properties.