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. Uses the native router (same as requestRoutes); use cancelMapMatchingRequest to cancel.
Return
requestId, see cancelMapMatchingRequest
Parameters
mapMatchingOptions
map matching options
callback
listener that gets notified when request state changes