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

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
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val edges: List<Long>
Link copied to clipboard
val length: Double
Link copied to clipboard
val percentAlongBegin: Double
Link copied to clipboard
val percentAlongEnd: Double