The following members of QML type RouteTask are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
- string createParameters(QmlFeatureCollection featureCollection)
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.
- If travel mode obtained from a 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
Replaced with createParametersWithPortalItem.
This QML method was introduced in Esri.ArcGISRuntime 100.1.