Qt Positioning QML Types

Overview

The identifying string for this module is QtPositioning. To use include the following import statement in the QML file.

import QtPositioning 5.11

Positioning QML Concepts

Position information can come from a variety of sources including satellites, wifi, text files and so on. The position is described by the latitude, the longitude, and the altitude in meters. For more information see Geographic Coordinate.

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, it 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 or a circle that can produce a notification when the device either leaves or enters that region.

More detailed information retrieving the current position can be found under Location Positioning via QML

Basic Types

coordinate

Type represents and stores a geographic position

geocircle

Type represents a circular geographic area

geopath

Type represents a geographic path

geopolygon

Type represents a geographic polygon

georectangle

Type represents a rectangular geographic area

geoshape

A geoshape type represents an abstract geographic area

Alphabetical Listing of All QML Types

QtPositioning

Global object provides useful functions for working with location-based types in QML

coordinate

Type represents and stores a geographic position

geocircle

Type represents a circular geographic area

geopath

Type represents a geographic path

geopolygon

Type represents a geographic polygon

georectangle

Type represents a rectangular geographic area

geoshape

A geoshape type represents an abstract geographic area

CoordinateAnimation

A PropertyAnimation for geo coordinate properties

Address

QML type represents a specific location as a street address

Location

Type holds location data

Position

Type holds positional data at a particular point in time, such as coordinate (longitude, latitude, altitude) and speed

PositionSource

Type provides the device's current position

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support