MapMatchingMatch

class MapMatchingMatch

Represents the Match Object from Mapbox Map Matching API, which is a Route Object from Mapbox Directions API that has additional fields. Additional fields could be accessed here, while the part which matches the Route Object is available in navigationRoute.

Parameters

navigationRoute

part of the Match Object which has the same structure as Route Object

confidence

The level of confidence in the returned match, from 0 (low) to 1 (high).

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 confidence: Double
Link copied to clipboard
val navigationRoute: NavigationRoute