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 Location
Constructors
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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |