Module Values.RouteMatrixMatchingOptionsSource

Matching options.

Sourcetype nonrec t = {
  1. nameHint : SensitiveString.t option;
    (*

    Attempts to match the provided position to a road similar to the provided name.

    *)
  2. onRoadThreshold : RouteMatrixMatchingOptionsOnRoadThresholdLong.t option;
    (*

    If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad. Unit: meters

    *)
  3. radius : DistanceMeters.t option;
    (*

    Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy. Unit: meters

    *)
  4. strategy : MatchingStrategy.t option;
    (*

    Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.

    *)
}
Sourceval make : ?nameHint:??? -> ?onRoadThreshold:??? -> ?radius:??? -> ?strategy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of RouteMatrixMatchingOptionsOnRoadThresholdLong.t | `String of SensitiveString.t ]) 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