ArcGIS Developers

Location QML Type

Represents a location update from a position source. More...

Import Statement: import Esri.ArcGISRuntime 100.10
Since: Esri.ArcGISRuntime 100.0


Inherited By:



Detailed Description

Note: You cannot declare or create a component of this type in QML code.

See also LocationDisplay.

Property Documentation

course : double

Returns the direction in which the device is traveling (read-only).

The direction is measured in degrees starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. Course values may not be available on all devices. A negative value indicates that the direction is invalid.

horizontalAccuracy : double

Returns the radius of uncertainty for the location, measured in meters (read-only).

The position identifies the center of the circle, and this value indicates the radius of that circle. A negative value indicates that the position is invalid.

lastKnown : bool

Returns whether the location information is current or based on a last known update (read-only).

Returns true if it is based on last known update. It is considered to be of last known update once the LocationDisplay::acquiringTimeoutMs has passed without an update.

position : Point

Returns the coordinates of the position as a Point (read-only).

timestamp : date

The time this location was observed (read-only).

This property was introduced in Esri.ArcGISRuntime 100.8.

velocity : double

Returns the instantaneous speed of the device in meters per second (read-only).

verticalAccuracy : double

The vertical accuracy of the location in meters (read-only).

Feedback on this topic?