requestMapMatching
fun requestMapMatching(mapMatchingOptions: MapMatchingOptions, callback: MapMatchingAPICallback): Long
Requests routes from Mapbox Map Matching API and transforms result to NavigationRoutes that could be used for setNavigationRoutes.
Return
requestId, see cancelMapMatchingRequest
Parameters
mapMatchingOptions
map matching options
callback
listener that gets notified when request state changes