Show / Hide Table of Contents

Class ReroutingParameters

Represents the parameters that are used to perform automatic re-routing if off-route while navigating along a route.

Inheritance
System.Object
ReroutingParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 null.

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 false.

Applies to

TargetVersions
.NET Standard 2.0100.11 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.11 - 200.7
Xamarin.Android100.11 - 100.15
Xamarin.iOS100.11 - 100.15
UWP100.11 - 200.7
In This Article
Back to top Copyright © 2022 Esri.