Class TrackingDistance
Defines tracking distance.
Inheritance
System.Object
TrackingDistance
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 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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |
Relevant samples
Navigate route: Use a routing service to navigate between points.