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())
Content copied to clipboard
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())
Content copied to clipboard