DynamicRoutingConfiguration

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

Configuration of dynamic routing client.

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
fun DynamicRoutingConfiguration(pointDifferenceThreshold: Distance = DEFAULT_POINT_DIFFERENCE_THRESHOLD_DISTANCE, pointDifferenceNumberThreshold: Int = DEFAULT_POINT_DIFFERENCE_NUMBER_THRESHOLD)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val pointDifferenceNumberThreshold: Int
Link copied to clipboard
val pointDifferenceThreshold: Distance