Values.RouteWaypointSourceWaypoint between the Origin and Destination.
type nonrec t = {avoidActionsForDistance : RouteWaypointAvoidActionsForDistanceLong.t option;Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)avoidUTurns : SensitiveBoolean.t option;Avoid U-turns for calculation on highways and motorways. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)heading : Heading.t option;GPS Heading at the position. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)matching : RouteMatchingOptions.t option;Options to configure matching the provided position to the road network. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)passThrough : SensitiveBoolean.t option;If the waypoint should not be treated as a stop. If yes, the waypoint is passed through and doesn't split the route into different legs. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)position : Position.t;Position in World Geodetic System (WGS 84) format: [longitude, latitude].
*)sideOfStreet : RouteSideOfStreetOptions.t option;Options to configure matching the provided position to a side of the street. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)stopDuration : RouteWaypointStopDurationLong.t option;Duration of the stop. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers. Unit: seconds
*)}val make :
?avoidActionsForDistance:??? ->
?avoidUTurns:??? ->
?heading:??? ->
?matching:??? ->
?passThrough:??? ->
?sideOfStreet:??? ->
?stopDuration:??? ->
position:Position.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `Double of Heading.t
| `List of [> `Double of Double.t ] list
| `Long of RouteWaypointAvoidActionsForDistanceLong.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `Double of Double.t ] list
| `Long of DistanceMeters.t
| `String of RouteMatchingOptionsNameHintString.t ])
list ])
list ]