Module Values.RouteWaypointSource

Waypoint between the Origin and Destination.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. 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.

    *)
  3. heading : Heading.t option;
    (*

    GPS Heading at the position. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  4. 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.

    *)
  5. 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.

    *)
  6. position : Position.t;
    (*

    Position in World Geodetic System (WGS 84) format: [longitude, latitude].

    *)
  7. 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.

    *)
  8. stopDuration : RouteWaypointStopDurationLong.t option;
    (*

    Duration of the stop. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers. Unit: seconds

    *)
}
Sourceval context_ : string
Sourceval make : ?avoidActionsForDistance:??? -> ?avoidUTurns:??? -> ?heading:??? -> ?matching:??? -> ?passThrough:??? -> ?sideOfStreet:??? -> ?stopDuration:??? -> position:Position.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t