MapMatchingEngine

interface MapMatchingEngine : Disposable

Improves the position accuracy by attempting to match it to map or route.

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

Functions

Link copied to clipboard
abstract fun dispose()
Link copied to clipboard
abstract fun extrapolateLocation(lastMatchedLocation: MatchedLocation, timeFromLastMatchedLocation: Duration): MapMatchingResult?

Performs attempt to extrapolate location based on previous position.

abstract fun extrapolateLocation(    lastMatchedLocation: MatchedLocation,     route: Route,     routeProgress: RouteProgress,     timeFromLastMatchedLocation: Duration): MapMatchingResult?

Estimates what the new location would be on route based on lastMatchedLocation and timeFromLastMatchedLocation.

Link copied to clipboard
abstract fun matchLocation(location: GeoLocation): MapMatchingResult

Performs attempt to match location to the map tiles.

abstract fun matchLocation(    location: GeoLocation,     route: Route,     routeProgress: RouteProgress): MapMatchingResult

Performs attempt to match location to the Route.

Inheritors

Link copied to clipboard