E Horizon Graph Path
class EHorizonGraphPath
Content copied to clipboard
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