matchPolylineObject

fun matchPolylineObject(roadObjectId: String, polyline: List<Point>)

Matches given polyline 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.

Parameters

roadObjectId

unique id of the object

polyline

polyline representing the object