Class TrackingDistance
Defines tracking distance.
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)
Namespace: Esri.ArcGISRuntime.Navigation
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class TrackingDistance
Remarks
Tracking distance contains two types of distances - raw and display. Raw distance is always in meters (fixed units). Display distance is converted to units of DisplayTextUnits.
Properties
Name | Description |
---|---|
DisplayText | Gets the formatted and rounded distance, ready for displaying. |
DisplayTextUnits | Gets the units used in the DisplayText which vary based on distance from maneuver/destination. |
Distance | Gets the raw distance without rounding and formatting, in meters. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |
Relevant samples
Navigate route: Use a routing service to navigate between points.