MapMatchingResult

data class MapMatchingResult(val matchedLocation: MatchedLocation, val rawLocation: <Error class: unknown class>, val locationPredictions: List<<Error class: unknown class>> = emptyList(), val alternativeMatchedLocations: List<MatchedLocation> = emptyList(), val followedRouteIds: List<<Error class: unknown class>> = 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 the MapMatchingEngine and that matchedLocation is on. Can be empty.

Constructors

Link copied to clipboard
constructor(matchedLocation: MatchedLocation, rawLocation: <Error class: unknown class>, locationPredictions: List<<Error class: unknown class>> = emptyList(), alternativeMatchedLocations: List<MatchedLocation> = emptyList(), followedRouteIds: List<<Error class: unknown class>> = emptyList())

Properties

Link copied to clipboard
val followedRouteIds: List<<Error class: unknown class>>
Link copied to clipboard
val locationPredictions: List<<Error class: unknown class>>
Link copied to clipboard
Link copied to clipboard
val rawLocation: <Error class: unknown class>