Qt Positioning QML Types
Overview
The identifying string for this module is QtPositioning. To use the QML from this module, include the following import statement in the QML file:
import QtPositioning 6.5
Positioning QML Concepts
Position information can come from a variety of sources including satellites, Wi-Fi, text files and so on. The position is described by the latitude, longitude, and the altitude in meters. For more information, see the Wikipedia page on Geographic Coordinates.
The QML position is stored in a coordinate which contains the latitude, longitude and altitude of the device. The Location contains this coordinate and adds an address, and also has a bounding box which defines the recommended viewing region when displaying the location.
Now that the device has a position, with regular updates the API can determine the speed and heading of the device. It can also define a box-shaped or circular region that triggers notifications when the device either leaves or enters that region.
More detailed information on retrieving the current position can be found under Location Positioning via QML.
Basic Types
Type represents and stores a geographic position | |
Type represents basic information about a satellite | |
Type represents a circular geographic area | |
Type represents a geographic path | |
Type represents a geographic polygon | |
Type represents a rectangular geographic area | |
A geoshape type represents an abstract geographic area |
Alphabetical Listing of All QML Types
QML type represents a specific location as a street address | |
A PropertyAnimation for geo coordinate properties | |
Type holds location data | |
Type describes a parameter for a position plugin | |
Type holds positional data at a particular point in time, such as coordinate (longitude, latitude, altitude) and speed | |
Type provides the device's current position | |
Global object provides useful functions for working with location-based types in QML | |
The satellite information | |
Type represents and stores a geographic position | |
Type represents basic information about a satellite | |
Type represents a circular geographic area | |
Type represents a geographic path | |
Type represents a geographic polygon | |
Type represents a rectangular geographic area | |
A geoshape type represents an abstract geographic area |
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.