ArcGIS Developers
Dashboard

Obsolete Members for RouteTracker

The following members of class RouteTracker 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 enableRerouting(Esri::ArcGISRuntime::RouteTask *routeTask, const Esri::ArcGISRuntime::RouteParameters &routeParameters, Esri::ArcGISRuntime::ReroutingStrategy strategy, bool visitFirstStopOnStart)

Member Function Documentation

Esri::ArcGISRuntime::TaskWatcher RouteTracker::enableRerouting(Esri::ArcGISRuntime::RouteTask *routeTask, const Esri::ArcGISRuntime::RouteParameters &routeParameters, Esri::ArcGISRuntime::ReroutingStrategy strategy, bool visitFirstStopOnStart)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Enables rerouting functionality of route tracker.

Rerouting is initiated automatically when the tracking status is off-route. In order to be considered off-route, the location must be on the transportation network as well as off the current route. If a tracked location is in a parking lot, for example, it is not considered off-route and rerouting will not occur. If the next location is on the network but not on the route, automatic rerouting will begin.

The enableReroutingCompleted signal will emit once the operation is complete.

This method is deprecated since 100.11. RouteTracker::enableRerouting has replaced this method.


Feedback on this topic?