Package com.tomtom.sdk.navigation.matching

Types

Link copied to clipboard
interface MapMatchingEngine : Disposable

Improves the position accuracy by attempting to match it to map or route.

Link copied to clipboard
data class MapMatchingResult(    val matchedLocation: MatchedLocation,     val rawLocation: GeoLocation,     val locationPredictions: List<GeoLocation> = emptyList(),     val alternativeMatchedLocations: List<MatchedLocation> = emptyList(),     val followedRouteIds: List<RouteId> = emptyList())

Represents a map matcher output.

Link copied to clipboard
data class MatchedLocation(    val location: GeoLocation,     val id: Int,     @IntRange(from = 0, to = 100) val probability: Int,     val isOnRoad: Boolean,     val direction: Double,     val mapPosition: MapPosition? = null)

Represents location matched to the map.

Link copied to clipboard
class TomTomMapMatchingEngine : MapMatchingEngine

MapMatchingEngine implementation which improves the position accuracy by attempting to match it to the Route or map data.