Class ReroutingParameters
Represents the parameters that are used to perform automatic re-routing if off-route while navigating along a route.
Namespace: Esri.ArcGISRuntime.Navigation
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class ReroutingParameters
Remarks
This class defines how automatic re-routing calculations will be performed if off-route is detected while navigating along a route. To enable re-routing, call the EnableReroutingAsync(ReroutingParameters, CancellationToken) method passing in this object as the argument.
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.
Constructors
Name | Description |
---|---|
ReroutingParameters(RouteTask, RouteParameters) | Initializes a new instance of the ReroutingParameters class. |
Properties
Name | Description |
---|---|
NetworkEdgeGeometries | Gets or sets an ArcGISFeatureTable containing the Polyline geometries
that the RouteTask's network is based on. During the re-routing the geometries are used
to determine if the current location is on or near the navigation network. The re-routing calculation
will be skipped if the current location is off the network. The geometry type of the feature table must
Polyline. Default value is |
RouteParameters | Gets the RouteParameters that defines parameters for the rerouting RouteTask. |
RouteTask | Gets the RouteTask capable of solving routes on the same network that created the original route. |
Strategy | Gets or sets the rerouting strategy that determines how new routes are created. Default value is ToNextWaypoint. |
VisitFirstStopOnStart | Gets or sets a value indicating whether the first stop must be visited when rerouted.
Default value is |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.11 - 100.15 |
.NET 5 | 100.11 - 100.12 |
.NET Core 3.1 | 100.11 - 100.12 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 100.15 |