Skip To Content ArcGIS for Developers Sign In Dashboard

Location QML Type

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

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

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).


velocity : double

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



Feedback on this topic?