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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 200.8 |
| .NET | 100.13 - 300.2 |
| .NET Windows | 100.13 - 300.2 |
| .NET Android | 200.0 - 300.2 |
| .NET iOS | 200.0 - 300.2 |
| .NET Framework | 100.6 - 200.8 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 200.8 |