Location QML Type

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

Import Statement: import Esri.ArcGISRuntime 100.13
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

Indicates whether this is an outdated device position retrieved and cached earlier and therefore not guaranteed to represent the current location.

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.

Setting this to true will render with the LocationDisplay::acquiringSymbol, typically a grayed out location symbol.

locationType : Enums.LocationType

Returns the LocationType of the location (read-only).

This property was introduced in Esri.ArcGISRuntime 100.10.

See also Enums.LocationType.

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.