match

fun match(positions: List<GeoCoordinates>, listener: PositionManager.OnMapMatchingMatched, executor: Executor? = null, precisions: List<Double> = emptyList(), timestamps: List<Long> = emptyList())

Map matching algorithm, tries to create continuous road sequence of roads representing provided polyline

Parameters

positions

GPS coordinates for map matching

precisions

GPS coordinate accuracies in meters, could be empty

timestamps

GPS signal relative timestamps in seconds, could be empty (allowed values are from 0 to 2^32 - 1)

listener

listener for results

executor

executor on which the listener will be executed