onRoadThresholdInMeters property - Waypoint class - routing library - Dart API
onRoadThresholdInMeters
onRoadThresholdInMeters property
getter/setter pair
Optional threshold allows specifying a distance within which the waypoint could be considered as being on a highway/bridge/tunnel/sliproad. Within this threshold, the attributes of the segments do not impact the matching. Outside the threshold only segments which aren't one of highway/bridge/tunnel/sliproad can be matched.
Implementation
int? onRoadThresholdInMeters;