Values.IsolineMatchingOptionsSourceControls how origin and destination points are matched to the road network when they don't fall exactly on a road. Matching options help ensure realistic routing by connecting points to appropriate roads.
type nonrec t = {nameHint : SensitiveString.t option;The expected street name near the point. Helps disambiguate matching when multiple roads are within range.
*)onRoadThreshold : DistanceMeters.t option;The maximum distance in meters that a point can be from a road while still being considered "on" that road. Points further than this distance require explicit matching. Unit: meters
*)radius : DistanceMeters.t option;The maximum distance in meters to search for roads to match to. Points with no roads within this radius will fail to match. The roads that are considered within this radius are determined by the specified Strategy Unit: meters
*)strategy : MatchingStrategy.t option;Determines how points are matched to the road network. MatchAny finds the nearest viable road segment, while MatchMostSignificantRoad prioritizes major roads.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Long of DistanceMeters.t
| `String of SensitiveString.t ])
list ]