matchGantryObject

fun matchGantryObject(roadObjectId: String, gantry: List<Point>)

Matches given gantry (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.

Parameters

roadObjectId

unique id of the object

gantry

gantry representing the object