EHorizonGraphPath

class EHorizonGraphPath

EHorizonGraphPath defines a path on a map graph.

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

edges

Ids of edges on a road graph

percentAlongBegin

fraction along edge shape (0-1) of a path begin point

percentAlongEnd

fraction along edge shape (0-1) of a path end point

length

length of a path

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

edges
Link copied to clipboard
val edges: List<Long>
Ids of edges on a road graph
length
Link copied to clipboard
val length: Double
length of a path
percentAlongBegin
Link copied to clipboard
val percentAlongBegin: Double
fraction along edge shape (0-1) of a path begin point
percentAlongEnd
Link copied to clipboard
val percentAlongEnd: Double
fraction along edge shape (0-1) of a path end point