A utility that contains methods to work with route tasks. More...
|Import Statement:||import Esri.ArcGISRuntime 100.7|
Use this singleton type to access helper methods that can be used in conjunction with a RouteTask.
Currently, this type contains a method to help import a route result from a portal item. Use the createRouteResult method with a portal representing a feature collection that contains directions, stops, route info, and barriers tables.
Note: You cannot declare or create a component of this type in QML code. Rather, an instance is automatically created and only that single instance is available for use in the application.
createRouteResultResult : RouteResult
Emitted when the createRouteResultStatus property changes.
See also Cancelable.
string createRouteResult(PortalItem portalItem)
Imports a pre-generated route result from the supplied portal item.
This operation allows the user to download an existing route result from a portal and use it for routing purposes on the local device.
- portalItem. The portal item with a feature collection that contains directions, stops, route info, and barriers tables.
Returns a task ID that can be used to cancel the createRouteResult task.