interface Matcher : NativeObject
Base interface that describes the base API for map matching. Map matching snaps the inaccurate GPS probe to the given route. The reference route can be set manually or can be obtained from the map tiles, depending on the use case.
abstract fun match(location: Location): Unit
Snaps the current location to the nearest route. The route can be set manually or can be obtained from the map tiles, depending on the use case. |
|
abstract fun setMatcherListener(listener: MatcherListener): Unit
Sets a callback to receive matching results. This callback is always sent on a map thread. |
class NativeMatcher : Matcher
A wrapper for a native object providing access to the matching algorithms. |