fun matchPolylineObjects(matchableGeometries: List<MatchableGeometry>, useOnlyPreloadedTiles: Boolean = false)

Matches given polylines to graph. Polyline should define valid path on graph, i.e. it should be possible to drive this path according to traffic rules. In case of error (if there are no tiles in cache, decoding failed, etc.) object won't be matched.



matchable geometries


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.