projectMatchedGeometry

fun projectMatchedGeometry(positions: List<GeoCoordinates>, matchedRoadIds: List<RoadId>, tolerance: Int, listener: PositionManager.OnMatchedGeometryProjected, executor: Executor? = null)

Snap provided geometry to road sequence.

See also

Parameters

positions

GPS coordinates you want to snap

matchedRoadIds

IDs of continuous road sequence

tolerance

maximum distance for coordinate from road in meters

listener

listener for results

executor

executor on which the listener will be executed