EHorizonEdge

class EHorizonEdge

Basic Edge class

NOTE: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.

Parameters

id

identifier of the directed edge (it's unique)

level

the level of the Edge (0 being the mpp, 1 branches of the mpp, 2 branches of level 1 branches, etc)

probability

the probability for this edge in percentage to be taken by the driver. The probabilities of all outgoing edges on a single intersection sum up to 1.

out

the outgoing Edges

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
fun isMpp(): Boolean
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val id: Long
Link copied to clipboard
val level: Byte
Link copied to clipboard
val out: List<EHorizonEdge>
Link copied to clipboard
val probability: Double