Class Location
Provides data for a single location, including position, course, velocity, and accuracy.
Namespace: Esri.ArcGISRuntime.Location
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class LocationConstructors
| Name | Description | 
|---|---|
| Location(MapPoint, Double, Double, Double, Boolean) | Initializes a new instance of the Location class. | 
| Location(Nullable<DateTimeOffset>, MapPoint, Double, Double, Double, Double, Boolean) | Initializes a new instance of the Location class with a known timestamp. | 
| Location(Nullable<DateTimeOffset>, MapPoint, Double, Double, Double, Double, Boolean, IEnumerable<KeyValuePair<String, Object>>) | Initializes a new instance of the Location class with timestamp and additional source properties. | 
Properties
| Name | Description | 
|---|---|
| AdditionalSourceProperties | Gets a set of key-value pairs providing additional meta-data and properties about the source of this Location. | 
| Course | Gets the course of the device in degrees, or NaN if not available. | 
| HorizontalAccuracy | Gets the estimated horizontal accuracy of the location in meters | 
| IsLastKnown | Gets a value indicating whether this is an outdated device position retrieved and cached earlier and therefore not guaranteed to represent the current location. | 
| Position | Gets the horizontal and vertical position of the location | 
| Timestamp | Gets the timestamp when this location was recorded (if available). | 
| Velocity | Gets the velocity of the device in meters per second | 
| VerticalAccuracy | Gets the vertical accuracy of this location in meters. | 
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.0 - 100.15 | 
| .NET 5 | 100.10 - 100.12 | 
| .NET Core 3.1 | 100.7 - 100.12 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 100.15 |