data class MatchablePoint(    val roadObjectId: String,     val point: Point,     val bearing: Double? = null)

The record represents a raw point which could be matched to the road 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.



unique id of the object


point representing the object


optional bearing in degrees from the North. Describes the direction of riding for the edge where provided point is going to be matched.


Link copied to clipboard
fun MatchablePoint(    roadObjectId: String,     point: Point,     bearing: Double? = null)


Link copied to clipboard
val bearing: Double? = null
Link copied to clipboard
val point: Point
Link copied to clipboard
val roadObjectId: String