MapMatchingResult

data class MapMatchingResult(    val matchedLocation: MatchedLocation,     val rawLocation: GeoLocation,     val locationPredictions: List<GeoLocation>,     val followedRouteIds: List<RouteId>,     val matchedMapPosition: MapPosition? = null)

Represents a map matcher output.

Parameters

matchedLocation

The map matched location.

rawLocation

The original location.

locationPredictions

The list of predicted locations.

followedRouteIds

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

matchedMapPosition

Position with map information.

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

Constructors

Link copied to clipboard
fun MapMatchingResult(    matchedLocation: MatchedLocation,     rawLocation: GeoLocation,     locationPredictions: List<GeoLocation>,     followedRouteIds: List<RouteId>,     matchedMapPosition: MapPosition? = null)

Properties

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 matchedMapPosition: MapPosition? = null
Link copied to clipboard
val rawLocation: GeoLocation