MatchablePoint

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.

Parameters

roadObjectId

unique id of the object

point

point representing the object

bearing

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

Constructors

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

Functions

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

Indicates whether some other object is "equal to" this one.

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

Returns a hash code value for the object.

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

Returns a string representation of the object.

Properties

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