RouteReplannerConfiguration

constructor(pointDifferenceThreshold: <Error class: unknown class> = DEFAULT_POINT_DIFFERENCE_THRESHOLD_DISTANCE, pointDifferenceNumberThreshold: Int = DEFAULT_POINT_DIFFERENCE_NUMBER_THRESHOLD, minimumPolylineCutoffDistance: <Error class: unknown class> = MINIMUM_POLYLINE_CUTOFF_DISTANCE)

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.

minimumPolylineCutoffDistance

Distance from deviation point to the start of the new route polyline defined by the supporting points. Determines portion of the initial polyline that will be ignored by the system when trying to perform back to route calculation. New route will be created by finding a route between position after deviation and point on the polyline behind cutoff distance and the old polyline will be stitched to it. Used in back-to-route calculations.

Important: This is a Public Preview API. It may be changed or removed at any time.