Qt Location C++ API

Information about the Qt Location C++ API

The Location API provides a library for mapping, navigation and place information.

The Qt Location API provides the developer with a set of functions to interact with maps, navigational data and places of interest. This is particularly useful when associated with current position information which can be retrieved via the QtPositioning module.

With the Maps API we can associate a position with a map in various formats supplied by a backend. Then the Places API could be used to populate places on the Map or even specify the current position as a place of interest and associate it with an icon, contact details and other information.

The following table provides links to more detailed information on sections of the Qt Location C++ API.

Maps and Navigation

Displaying maps and finding routes.

Places

Searching for and managing points of interest.

Geoservices Plugin Implementation

Implement new geoservices and positioning plugins.

Geoservice Provider Classes

PySide2.QtLocation.QGeoServiceProvider

The QGeoServiceProvider class aggregates access to services which provide geographical information.

Maps and Navigation Classes

Currently it is not possible to interact with maps data via C++. The only available interface is the Maps and Navigation (QML) API.

++—————————————————————————————+ ||The QGeoMappingManager class provides support for displaying and interacting with maps.| ++—————————————————————————————+

PySide2.QtLocation.QGeoManeuver

The QGeoManeuver class represents the information relevant to the point at which two QGeoRouteSegments meet.

PySide2.QtLocation.QGeoRoute

The QGeoRoute class represents a route between two points.

QGeoRouteLeg

The QGeoRouteLeg class represents a leg of a route, that is the portion of a route between one waypoint and the next. This is a subclass of QGeoRoute, exposing route leg specific API.

PySide2.QtLocation.QGeoRouteReply

The QGeoRouteReply class manages an operation started by an instance of QGeoRoutingManager.

PySide2.QtLocation.QGeoRouteRequest

The QGeoRouteRequest class represents the parameters and restrictions which define a request for routing information.

PySide2.QtLocation.QGeoRouteSegment

The QGeoRouteSegment class represents a segment of a route.

PySide2.QtLocation.QGeoRoutingManager

The QGeoRoutingManager class provides support for geographic routing operations.

PySide2.QtLocation.QGeoCodeReply

The QGeoCodeReply class manages an operation started by an instance of QGeoCodingManager.

PySide2.QtLocation.QGeoCodingManager

The QGeoCodingManager class provides support for geocoding operations.

Places Classes

PySide2.QtLocation.QPlace

The QPlace class represents a set of data about a place.

PySide2.QtLocation.QPlaceAttribute

The QPlaceAttribute class represents generic attribute information about a place.

PySide2.QtLocation.QPlaceCategory

The QPlaceCategory class represents a category that a QPlace can be associated with.

PySide2.QtLocation.QPlaceContactDetail

The QPlaceContactDetail class represents a contact detail such as a phone number or website url.

PySide2.QtLocation.QPlaceContent

The QPlaceContent class serves as the base class for rich content types.

PySide2.QtLocation.QPlaceContentReply

The QPlaceContentReply class manages a content retrieval operation started by an instance of QPlaceManager.

PySide2.QtLocation.QPlaceContentRequest

The QPlaceContentRequest class represents the parameters of a content request.

PySide2.QtLocation.QPlaceDetailsReply

The QPlaceDetailsReply class manages a place details fetch operation started by an instance of QPlaceManager.

PySide2.QtLocation.QPlaceEditorial

The QPlaceEditorial class represents a publisher’s article describing a place.

PySide2.QtLocation.QPlaceIcon

The QPlaceIcon class represents an icon.

PySide2.QtLocation.QPlaceIdReply

The QPlaceIdReply class manages operations which return an identifier such as saving and removal operations of places and categories.

PySide2.QtLocation.QPlaceImage

The QPlaceImage class represents a reference to an image.

PySide2.QtLocation.QPlaceManager

The QPlaceManager class provides the interface which allows clients to access places stored in a particular backend.

PySide2.QtLocation.QPlaceManagerEngine

The QPlaceManagerEngine class provides an interface for implementers of QGeoServiceProvider plugins who want to provide access to place functionality.

PySide2.QtLocation.QPlaceMatchReply

The QPlaceMatchReply class manages a place matching operation started by an instance of QPlaceManager.

PySide2.QtLocation.QPlaceMatchRequest

The QPlaceMatchRequest class is used to find places from one manager that match those from another. It represents a set of request parameters.

PySide2.QtLocation.QPlaceProposedSearchResult

The QPlaceProposedSearchResult class represents a search result containing a proposed search.

PySide2.QtLocation.QPlaceRatings

The QPlaceRatings class holds rating information about a place.

PySide2.QtLocation.QPlaceReply

The QPlaceReply class manages an operation started by an instance of QPlaceManager and serves as a base class for more specialized replies.

PySide2.QtLocation.QPlaceResult

The QPlaceResult class represents a search result containing a place.

PySide2.QtLocation.QPlaceReview

The QPlaceReview class represents a review of a place.

PySide2.QtLocation.QPlaceSearchReply

The QPlaceSearchReply class manages a place search operation started by an instance of QPlaceManager.

PySide2.QtLocation.QPlaceSearchRequest

The QPlaceSearchRequest class represents the set of parameters for a search request.

PySide2.QtLocation.QPlaceSearchResult

The QPlaceSearchResult class is the base class for search results.

PySide2.QtLocation.QPlaceSearchSuggestionReply

The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager.

PySide2.QtLocation.QPlaceSupplier

The QPlaceSupplier class represents a supplier of a place or content associated with a place.

PySide2.QtLocation.QPlaceUser

The QPlaceUser class represents an individual user.

Geoservices and Positioning Plugin Classes

The QGeoCameraCapabilities class describes the limitations on camera settings imposed by a mapping plugin.

PySide2.QtLocation.QGeoCodingManagerEngine

The QGeoCodingManagerEngine class provides an interface and convenience methods to implementers of QGeoServiceProvider plugins who want to provide support for geocoding operations.

Provides support functionality for map display with QGeoServiceProvider.

PySide2.QtLocation.QGeoRoutingManagerEngine

The QGeoRoutingManagerEngine class provides an interface and convenience methods to implementers of QGeoServiceProvider plugins who want to provide access to geographic routing information.

PySide2.QtLocation.QGeoServiceProviderFactory

The QGeoServiceProviderFactory class is a factory class used as the plugin interface for services related to geographical information.

PySide2.QtLocation.QGeoServiceProviderFactoryV2

The QGeoServiceProviderFactoryV2 class is a factory class used as the plugin interface for services related to geographical information.

The QGeoTiledMapReply class manages a tile fetch operation started by an instance of QGeoTiledManagerEngine.

PySide2.QtLocation.QPlaceManagerEngine

The QPlaceManagerEngine class provides an interface for implementers of QGeoServiceProvider plugins who want to provide access to place functionality.