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

Matches given gantries (i.e. polyline orthogonal to the road) to the graph. "Matching" here means we try to find all intersections of gantry with road graph and track distances to those intersections as distance to gantry. 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.