sdk-maps-driving-extensions / com.tomtom.online.sdk.map.driving / Matcher / match

match

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.