RouteReplannerConfiguration

constructor(pointDifferenceThreshold: Distance = DEFAULT_POINT_DIFFERENCE_THRESHOLD_DISTANCE, pointDifferenceNumberThreshold: Int = DEFAULT_POINT_DIFFERENCE_NUMBER_THRESHOLD)

Parameters

pointDifferenceThreshold

Maximum difference allowed between corresponding points in routes being compared. Points that differ by more than this value are considered invalid.

pointDifferenceNumberThreshold

Maximum number of points that can differ between the current and compared routes by more than the pointDifferenceThreshold. Fetched routes that exceed the threshold will be considered invalid and the route will not be replanned.