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: The RouteResult defined by the feature collection.