Obsolete Members for RouteTask
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(FeatureCollection featureCollection)
string createParameters(FeatureCollection featureCollection)
This method 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.
- 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
Esri.ArcGISRuntime 100.3. Replaced with createParametersWithPortalItem.
This method was introduced in Esri.ArcGISRuntime 100.1.