MatchablePoint

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

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

MatchablePoint
Link copied to clipboard
fun MatchablePoint(roadObjectId: String, point: Point, bearing: Double? = null)
unique id of the object

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): Point
component3
Link copied to clipboard
operator fun component3(): Double?
copy
Link copied to clipboard
fun copy(roadObjectId: String, point: Point, bearing: Double? = null): MatchablePoint
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

bearing
Link copied to clipboard
val bearing: Double? = null
optional bearing in degrees from the North.
point
Link copied to clipboard
val point: Point
point representing the object
roadObjectId
Link copied to clipboard
val roadObjectId: String
unique id of the object