AllowOptions (API Reference)
Class AllowOptions
The options explicitly allowed by user for route calculations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
allowHov
public boolean allowHovA flag that specifies whether HOV lanes can be used in the route calculation.
A HOV (High occupancy Vehicle) lane or carpool lane is reserved for carpool usage. Carpool lane requires a minimum number of passengers in order for the car to use the carpool lane.
Note: Can be used with
RoutingOptions.transport_specification.vehicle_specification.occupancyto specify the number of occupants in the vehicle. -
allowHot
public boolean allowHotA flag that specifies whether HOT lanes can be used in the calculation.
HOT (high-occupancy toll) lanes are HOV lanes where vehicles that do not qualify as high-occupancy are allowed to pass by paying a toll.
Note: Can be used with
RoutingOptions.transport_specification.vehicle_specification.occupancyto specify the number of occupants in the vehicle.
-
-
Constructor Details
-
AllowOptions
public AllowOptions()Creates a new instance.
-
-
Method Details