createRouteResultWithFeatureCollection static method
- FeatureCollection collection
Imports route result from feature collection.
Parameters:
collection
— The feature collection that contains directions, stops, route info, and barriers tables.
Return Value: A Future that returns a RouteResult.