PositionThe Position element holds positional data at a particular point in time, such as coordinate (longitude, latitude, altitude) and speed. More... Inherits QtObject This type was introduced in Qt Location 5.0. Properties
Detailed DescriptionThe Position element holds values related to geographic location such as a coordinate (longitude, latitude, and altitude), the timestamp when the Position was obtained, the speed at that time, and the accuracy of the data. Primarily, it is used in the position property of a PositionSource, as the basic unit of data available from the system location data source. Not all properties of a Position object are necessarily valid or available (for example latitude and longitude may be valid, but speed update has not been received or set manually). As a result, corresponding "valid" properties are available (for example coordinate and longitudeValid, latitudeValid etc) to discern whether the data is available and valid in this position update. Position elements are read-only and can only be produced by a PositionSource. Example UsageSee the example given for the PositionSource element, or the Flickr example application. See also PositionSource and Coordinate. Property DocumentationThis property is true if coordinate's altitude has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data). See also coordinate. This property holds the latitude, longitude, and altitude value of the Position. It is a read-only property. Note: due to its inherent changing nature, the coordinateChanged() signal is emitted also when the values of the coordinate change, which enables easier data binding to Coordinate element instead of directly connecting to for example its latitude and longitude. See also longitudeValid, latitudeValid, and altitudeValid. This property holds the horizontal accuracy of the coordinate (in meters). See also horizontalAccuracyValid and coordinate. This property is true if horizontalAccuracy has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data). See also horizontalAccuracy. This property is true if coordinate's latitude has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data). See also coordinate. This property is true if coordinate's longitude has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data). See also coordinate. This property holds the value of speed (groundspeed, meters / second). It is a read-only property. See also speedValid and coordinate. This property holds the timestamp when this position was received. If the property has not been set, it is invalid. It is a read-only property. This property holds the vertical accuracy of the coordinate (in meters). See also verticalAccuracyValid and coordinate. This property is true if verticalAccuracy has been set (to indicate whether that data has been received or not, as every update does not necessarily contain all data). See also verticalAccuracy. |