Show / Hide Table of Contents

Class TrackingDistance

Defines tracking distance.

Inheritance
System.Object
TrackingDistance
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.6 - 200.8
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.8

Relevant samples

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