RouteReplannerConfiguration

data class RouteReplannerConfiguration(val pointDifferenceThreshold: Distance = DEFAULT_POINT_DIFFERENCE_THRESHOLD_DISTANCE, val pointDifferenceNumberThreshold: Int = DEFAULT_POINT_DIFFERENCE_NUMBER_THRESHOLD)

Configuration for RouteReplanner

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.

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

Constructors

Link copied to clipboard
constructor(pointDifferenceThreshold: Distance = DEFAULT_POINT_DIFFERENCE_THRESHOLD_DISTANCE, pointDifferenceNumberThreshold: Int = DEFAULT_POINT_DIFFERENCE_NUMBER_THRESHOLD)

Types

Link copied to clipboard
object Companion