Show / Hide Table of Contents

Class RouteParameters

Represents parameters used when performing route analysis.

Inheritance
Object
RouteParameters
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class RouteParameters

Constructors

Name Description
RouteParameters()

Initializes a new instance of the RouteParameters class.

Properties

Name Description
AccumulateAttributeNames

Gets accumulate attribute names.

DirectionsDistanceUnits

Gets or sets the directions distance text units.

DirectionsLanguage

Gets or sets the directions language.

DirectionsStyle

Gets or sets directions style.

FindBestSequence

Gets or sets a value indicating whether to find the best sequence.

OutputSpatialReference

Gets or sets the output spatial reference.

PreserveFirstStop

Gets or sets a value indicating whether to preserve the first stop.

PreserveLastStop

Gets or sets a value indicating whether to preserve the last stop.

ReturnDirections

Gets or sets a value indicating whether to return directions.

ReturnPointBarriers

Gets or sets a value indicating whether to return point barriers.

ReturnPolygonBarriers

Gets or sets a value indicating whether to return polygon barriers.

ReturnPolylineBarriers

Gets or sets a value indicating whether to return polyline barriers.

ReturnRoutes

Gets or sets a value indicating whether to return routes.

ReturnStops

Gets or sets a value indicating whether to return stops.

RouteShapeType

Gets or sets the route shape type.

StartTime

Gets or sets the start time in UTC.

TravelMode

Gets or sets the travel mode.

Methods

Name Description
ClearPointBarriers()

Clears point barriers.

ClearPolygonBarriers()

Clears polygon barriers.

ClearPolylineBarriers()

Clears polyline barriers.

ClearStops()

Clears stops.

GetSearchWhereClause(String)

Gets the search filter that specifies which network elements stops can be located on.

SetPointBarriers(ArcGISFeatureTable, QueryParameters)

Sets point barriers with feature table.

SetPointBarriers(IEnumerable<PointBarrier>)

Sets point barriers.

SetPolygonBarriers(ArcGISFeatureTable, QueryParameters)

Sets polygon barriers with feature table.

SetPolygonBarriers(IEnumerable<PolygonBarrier>)

Sets polygon barriers.

SetPolylineBarriers(ArcGISFeatureTable, QueryParameters)

Sets polyline barriers with feature table.

SetPolylineBarriers(IEnumerable<PolylineBarrier>)

Sets polyline barriers.

SetSearchWhereClause(String, String)

Sets a search filter that specifies which network elements stops can be located on.

SetStops(ArcGISFeatureTable, QueryParameters)

Sets stops with feature table.

SetStops(IEnumerable<Stop>)

Sets stops.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14

Relevant samples

Find route: Display directions for a route between two points.
Mobile map (search and route): Display maps and use locators to enable search and routing offline using a Mobile Map Package.
Navigate route: Use a routing service to navigate between points.
Offline routing: Solve a route on-the-fly using offline data.
In This Article
Back to top Copyright © 2021 Esri.