MapMatchingResult

constructor(matchedLocation: MatchedLocation, rawLocation: GeoLocation, locationPredictions: List<GeoLocation> = emptyList(), alternativeMatchedLocations: List<MatchedLocation> = emptyList(), followedRouteIds: List<RouteId> = emptyList())

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 the MapMatchingEngine and that matchedLocation is on. Can be empty.