Property NetworkEdgeGeometries
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
.
Declaration
public ArcGISFeatureTable NetworkEdgeGeometries { get; set; }
Property Value
Type | Description |
---|---|
ArcGISFeatureTable | An ArcGISFeatureTable or |
Remarks
Setting this property is only needed when the RouteTask for the navigation is based on a service. When the RouteTask is based on local data on the device, access to the Polyline geometries is available to the re-routing algorithm automatically. The ArcGISFeatureTable can be the original network source data or one created specifically for checking if located on an edge. If there are multiple sources, the geometries should be merged into a single table.
Only the geometries are needed in the ArcGISFeatureTable, not the attributes.
Online feature service should support pagination, otherwise EnableReroutingAsync(ReroutingParameters, CancellationToken) will throw an exception. To improve performance online feature service should have a MaxRecordCount >= 2000 (this decreases the count of online queries).
Applies to
Platforms and versions
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 |