matchPointObjects

fun matchPointObjects(matchablePoints: List<MatchablePoint>, useOnlyPreloadedTiles: Boolean = false)

Matches given points to road graph. In case of error (if there are no tiles in cache, decoding failed, etc.) object won't be matched.

Parameters

matchablePoints

matchable points

useOnlyPreloadedTiles

If there is no data for the specified geometry yet cached on the device, setting this to false will wait (potentially indefinitely) for the data covering this geometry to be loaded via other means (location updates, predictive ambient caching, offline regions etc.) before attempting to match. If set to true and there is no data on device covering specified geometry, this call will return an error immediately.