MapMatchingResult

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.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

matchedLocation

The best map matched location candidate.

rawLocation

The original location.

locationPredictions

The list of predicted locations. Can be empty.

alternativeMatchedLocations

The list of alternative map matched locations. Can be empty.

followedRouteIds

The list of Route IDs that were passed into. Can be empty. the MapMatchingEngine and that matchedLocation is on.

Constructors

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

Properties

Link copied to clipboard
val alternativeMatchedLocations: List<MatchedLocation>
Link copied to clipboard
val followedRouteIds: List<RouteId>
Link copied to clipboard
val locationPredictions: List<GeoLocation>
Link copied to clipboard
val matchedLocation: MatchedLocation
Link copied to clipboard
val rawLocation: GeoLocation