Obsolete Members for RouteTask
The following members of class RouteTask are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(obsolete) Esri::ArcGISRuntime::TaskWatcher | createParameters(const Esri::ArcGISRuntime::FeatureCollection &featureCollection) |
Member Function Documentation
Esri::ArcGISRuntime::TaskWatcher RouteTask::createParameters(const Esri::ArcGISRuntime::FeatureCollection &featureCollection)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Creates the route parameters from a feature collection for this route task.
Imported route parameters from a feature collection will be adjusted to the current RouteTask.
Please note:
- If travel mode obtained from featureCollection cannot be applied to current RouteTask, then it will be null.
- In cases where travel mode is null, the client can override it with another travel mode, such as one obtained from RouteTaskInfo::travelModes().
- Accumulate attributes from the route info table are applied only if they exist in RouteTaskInfo::restrictionAttributes() and RouteTaskInfo::costAttributes() for the current RouteTask.
featureCollection must contain at least a Stops
table.
The createParametersCompleted signal emits when the operation is complete, giving access to the resulting RouteParameters.
Esri.ArcGISRuntime 100.3. Replaced with RouteTask::createParametersWithPortalItem()
This function was introduced in Esri::ArcGISRuntime 100.1.