Show / Hide Table of Contents

Property LocationOnRoute

LocationOnRoute

Gets the snapped-to-route location.

Declaration
public Location LocationOnRoute { get; }
Property Value
Type Description
Location

The snapped-to-route location.

Remarks

This is based on the last location passed to TrackLocationAsync(Location, CancellationToken). If IsOnRoute is true, this will be same as DisplayLocation. Otherwise, this value will stop updating and the last location that was on-route will be returned.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 200.8
.NET100.13 - 300.2
.NET Windows100.13 - 300.2
.NET Android200.0 - 300.2
.NET iOS200.0 - 300.2
.NET Framework100.6 - 200.8
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.