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
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.6 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.6 - 100.15 | 
| .NET 5 | 100.10 - 100.12 | 
| .NET Core 3.1 | 100.7 - 100.12 | 
| Xamarin.Android | 100.6 - 100.15 | 
| Xamarin.iOS | 100.6 - 100.15 | 
| UWP | 100.6 - 100.15 |