MapMatchedLocationProvider

class MapMatchedLocationProvider(navigation: <Error class: unknown class>, usePredictions: Boolean = true)

Location provider that provides map matched locations generated by TomTomNavigation. Clients should call addOnLocationUpdateListener to register for location updates. If usePredictions will be set to true it will provide matched locations from the MapMatchingResult.locationPredictions otherwise the MapMatchingResult.matchedLocation will be used. Locations that comes from predictions are generated more often and attempt to provide closer approximation of user's location. Location updates from predictions will be executed before given GeoLocation.time to let client e.g. execute animation beforehand.

Constructors

Link copied to clipboard
constructor(navigation: <Error class: unknown class>, usePredictions: Boolean = true)

Functions

Link copied to clipboard
open fun addOnLocationUpdateListener(listener: <Error class: unknown class>)
Link copied to clipboard
open fun close()
Link copied to clipboard
open fun disable()
Link copied to clipboard
open fun enable()
Link copied to clipboard
open fun removeOnLocationUpdateListener(listener: <Error class: unknown class>)

Properties

Link copied to clipboard
open val lastKnownLocation: <Error class: unknown class>?