Show / Hide Table of Contents

Class TrackingDistance

Defines tracking distance.

Inheritance
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)
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

TargetVersions
.NET Standard 2.0100.6 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.6 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 100.15

Relevant samples

Navigate route: Use a routing service to navigate between points.
In This Article
Back to top Copyright © 2022 Esri.