PySide6.QtLocation

Detailed Description

Provides QML and C++ interfaces to create location-aware applications.

The Qt Location module helps you create mapping solutions using data available from popular location service providers, such as Open Street Map .

The Qt Location API enables you to:

  • Access and present map data.

  • Support touch gesture on a specific area of the map.

  • Query for a specific geographical location and route.

  • Add additional layers on top, such as polylines and circles.

  • Search for places and related images.

Submodules

The API is split into sub-modules, which provide QML and C++ interfaces for specific purposes. They focus mainly on Map and Place information. The required position data can be retrieved using the QtPositioning module.

Places

The Places submodule is the natural complement to Positioning, providing a source of geographical data about Places of Interest (POI). Besides the source information, the API provides information about the location, size, and other related information about a POI. The Places API can also retrieve images, reviews, and other content related to a place.

Places introduction:

for QML

for C++

Maps and Navigation

The module provides the QML and C++ alternatives for maps and navigation. The C++ alternative provides utility classes to get geocoding (finding a geographic coordinate from a street address) and navigation (including driving and walking directions) information, whereas its QML counterpart provides UI components to render the information.

Maps and Navigation introduction:

for QML

for C++

Plugin References and Parameters

Information about plugins, important notes on their usage, parameters that can be provided to influence their behavior.

Qt Location Items Overlay Plugin

Provides an empty map intended to be used as background for an overlay layers for map items.

Qt Location Open Street Map Plugin

Uses Open Street Map and related services.

Implementing New Back-Ends and Porting

For systems integrators and distributors, information related to making Qt Location available for a new platform.

GeoServices

Information about the Qt Location GeoServices plugins

Places

Information for places backend implementors

API changes

Information about porting from Qt 5 to Qt 6

Licenses

Qt Location is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.

List of QML types

List of Classes