extrapolateLocation
open override fun extrapolateLocation( lastMatchedLocation: MatchedLocation, route: Route, timeFromLastMatchedLocation: Duration): MapMatchingResult?
Content copied to clipboard
Estimates what the new location would be on route based on lastMatchedLocation and timeFromLastMatchedLocation.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
Map matching result if possible, otherwise returns null. Result consists of:
A location matched to the Route if possible, otherwise the original location.
A list of IDs for Routes that the matched location is on.
Parameters
lastMatchedLocation
Last matched location being the result of calling either matchLocation or extrapolateLocation methods.
timeFromLastMatchedLocation
Time difference from lastMatchedLocation timestamp till now.
open override fun extrapolateLocation(lastMatchedLocation: MatchedLocation, timeFromLastMatchedLocation: Duration): MapMatchingResult?
Content copied to clipboard
This engine does not support location extrapolation.