QML Position Element
The Position element holds various positional data, such as latitude, longtitude, altitude and speed. More...
Properties
|
Detailed Description
The Position element holds various positional data, such as latitude, longtitude, altitude and speed. Not all of these are always available (e.g. latitude and longtitude may be valid, but speed update has not been received or set manually), and hence there are corresponding validity attributes which can be used when writing applications.
The main parameters are writable, so application writer can create his/her own position elements or even store (record) received updates to e.g. later render a walked path.
The Position element is part of the QtMobility.location 1.0 module.
See also PositionSource.
Property Documentation
This property holds the value of altitude (metres above sea level). If the property has not been set, its default value is zero.
See also altitudeValid, longtitude, latitude, and speed.
This property holds latitude value of the geographical position (decimal degrees). A positive latitude indicates the Northern Hemisphere, and a negative latitude indicates the Southern Hemisphere. If the property has not been set, its default value is zero.
See also latitudeValid, longtitude, speed, and altitude.
This property holds the longtitude value of the geographical position (decimal degrees). A positive longitude indicates the Eastern Hemisphere, and a negative longitude indicates the Western Hemisphere If the property has not been set, its default value is zero.
See also longtitudeValid, latitude, speed, and altitude.
This property is true if longtitude has been set.
See also longtitude.
This property holds the value of speed (groundspeed, metres / second). If the property has not been set, its default value is zero.
See also speedValid, altitude, longtitude, and latitude.
This property holds the timestamp when this position was received. If the property has not been set, it is invalid.
Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.1.0 |