Values.WaypointOptimizationAvoidanceOptionsSourceSpecifies options for areas to avoid. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.
type nonrec t = {areas : WaypointOptimizationAvoidanceOptionsAreasList.t option;Areas to be avoided.
*)carShuttleTrains : SensitiveBoolean.t option;Avoidance options for cars-shuttles-trains.
*)controlledAccessHighways : SensitiveBoolean.t option;Avoid controlled access highways while calculating the route.
*)dirtRoads : SensitiveBoolean.t option;Avoid dirt roads while calculating the route.
*)ferries : SensitiveBoolean.t option;Avoidance options for ferries.
*)tollRoads : SensitiveBoolean.t option;Avoids roads where the specified toll transponders are the only mode of payment.
*)tunnels : SensitiveBoolean.t option;Avoid tunnels while calculating the route.
*)uTurns : SensitiveBoolean.t option;Avoid U-turns for calculation on highways and motorways.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `List of
[> `Structure of
(string
* [> `Structure of
(string * [> `List of [> `Double of Double.t ] list ])
list ])
list ]
list ])
list ]