diff options
Diffstat (limited to 'src/imports/positioning/qdeclarativecoordinate.cpp')
-rw-r--r-- | src/imports/positioning/qdeclarativecoordinate.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/imports/positioning/qdeclarativecoordinate.cpp b/src/imports/positioning/qdeclarativecoordinate.cpp index 5d876a43..78591fcd 100644 --- a/src/imports/positioning/qdeclarativecoordinate.cpp +++ b/src/imports/positioning/qdeclarativecoordinate.cpp @@ -70,7 +70,7 @@ QT_BEGIN_NAMESPACE They also feature a number of important utility methods that make otherwise complex calculations simple to use, such as \l atDistanceAndAzimuth(). - \section2 Accuracy + \section1 Accuracy The latitude, longitude and altitude attributes stored in the coordinate type are represented as doubles, giving them approximately 16 decimal digits of precision -- enough to specify @@ -78,7 +78,7 @@ QT_BEGIN_NAMESPACE \l distanceTo() also use doubles for all intermediate values, but the inherent inaccuracies in their spherical Earth model dominate the amount of error in their output. - \section2 Example Usage + \section1 Example Usage Use properties of type \l variant to store a \c {coordinate}. To create a \c coordinate use one of the methods described below. In all cases, specifying the \l altitude attribute is @@ -107,9 +107,9 @@ QT_BEGIN_NAMESPACE When integrating with C++, note that any QGeoCoordinate value passed into QML from C++ is automatically converted into a \c coordinate value, and vice-versa. - \section2 Properties + \section1 Properties - \section3 latitude + \section2 latitude \code real latitude @@ -120,7 +120,7 @@ QT_BEGIN_NAMESPACE and a negative latitude indicates the Southern Hemisphere. If the property has not been set, its default value is NaN. - \section3 longitude + \section2 longitude \code real longitude @@ -131,7 +131,7 @@ QT_BEGIN_NAMESPACE and a negative longitude indicates the Western Hemisphere If the property has not been set, its default value is NaN. - \section3 altitude + \section2 altitude \code real altitude @@ -140,7 +140,7 @@ QT_BEGIN_NAMESPACE This property holds the value of altitude (meters above sea level). If the property has not been set, its default value is NaN. - \section3 isValid + \section2 isValid \code bool isValid @@ -156,9 +156,9 @@ QT_BEGIN_NAMESPACE This is a read-only property. - \section2 Methods + \section1 Methods - \section3 distanceTo() + \section2 distanceTo() \code real distanceTo(coordinate other) @@ -170,7 +170,7 @@ QT_BEGIN_NAMESPACE This calculation returns the great-circle distance between the two coordinates, with an assumption that the Earth is spherical for the purpose of this calculation. - \section3 azimuthTo() + \section2 azimuthTo() \code real azimuth(coordinate other) @@ -181,7 +181,7 @@ QT_BEGIN_NAMESPACE There is an assumption that the Earth is spherical for the purpose of this calculation. - \section3 atDistanceAndAzimuth() + \section2 atDistanceAndAzimuth() \code coordinate atDistanceAndAzimuth(real distance, real azimuth) |