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 GPS location passed-in 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 - 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
In This Article
Back to top Copyright © 2022 Esri.