ExplicitDistancePolicy

data class ExplicitDistancePolicy(val searchDistance: PathSearchDistance = PathSearchDistance( maxHorizonLength = DEFAULT_MAX_HORIZON_LENGTH )) : PathSearchDistancePolicy

Main path search distance policy that specifies a search distance. When this search policy is enabled, the horizon engine only searches within a subscription-specified distance when extending the main path. It does not search along the entire route. If the search distance is not specified, a default value corresponding to a maximum horizon length of 2 km will be used.

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

Parameters

searchDistance

Path search distance.

Constructors

Link copied to clipboard
constructor(searchDistance: PathSearchDistance = PathSearchDistance( maxHorizonLength = DEFAULT_MAX_HORIZON_LENGTH ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard