Qt Location Reference Documentation

Category

CategoryModel

Changes to Qt Location

Breaking public API changes

Maps

Places

Experimental APIs

Backend Provider API

Other API changes

ContactDetails

Examples

EditorialModel

Example

ExtendedAttributes

GeoJson Viewer (QML)

Running the Example

Creating a MapView

Setting up the GeoJson Model / Display MapItems

Writing MapItems to GeoJson

User Interaction with MapItems

Adding new Items

Removing Items

GeoJsonData

GeoJSON Object

GeoJson Example

GeocodeModel

Example Usage

ImageModel

Map

Map Objects

Performance

Example Usage

Map Viewer (QML)

Running the Example

Overview

Displaying a Map

Finding an Address (Geocoding)

Directions and Travel Routes

MapCircle

Example Usage

MapCopyrightNotice

MapItemGroup

Example Usage

MapItemView

Example Usage

MapItemView Transitions (QML)

Running the Example

QML Code

Requirements

MapPolygon

Example Usage

MapPolyline

Example Usage

MapQuickItem

Positioning and Sizing

Performance

Limitations

Example Usage

MapRectangle

Example Usage

MapRoute

Example Usage

MapView

Maps and Navigation (C++)

Geocoding

Navigation

Maps and Navigation (QML)

Maps

Displaying Maps

Putting Objects on a Map (Map Overlay Objects)

Model-View Design with Map Overlay Objects

Interaction with Map Overlay Objects

Geocoding – Address to Coordinate and Vice Versa

Routing and Navigation

Minimal Map (QML)

Running the Example

C++ Code

QML Code

Requirements

Place

Saving a Place

Caveats

Saving Between Plugins

Removing a Place

Favorites

PlaceSearchModel

PlaceSearchModel Roles

Search Result Types

Detection of Updated and Removed Places

Example

Paging

PlaceSearchSuggestionModel

Places (C++)

Saving a place cpp

Removing a place cpp

Places Reply Classes

Overview

Place Definition

Common Operations

Initializing a Manager

Discovery/Search

Recommendations

Paging

Fetching Place Details

Fetching Rich Content

Search Suggestions

Saving a Place

Caveats

Saving Between Managers

Removing a Place

Using Categories

Saving a Category

Removing a Category

Matching Places Between Managers

Classes in Places

Data Classes

Request Classes

Reply classes

Manager Classes

Places (QML)

Presenting-Search-Suggestions

Running the Example

Overview

Displaying Categories

Presenting Search Suggestions

Searching for Places

Displaying Place Content

Places Backend

Overview

Implementing/Inheriting Reply Objects

Icon URLs

Categories

Saving Places to the Manager

Cross-Referencing Places Between Managers

Alternative Identifier Cross-Referencing

Other Methods of Linking

User Readable vs Non-User Readable Extended Attributes

Places List (QML)

Running the Example

Performing a Place Search

Places Map (QML)

Running the Example

Local Search

Plane Spotter (QML)

Running the Example

Overview

Steering the Planes

The C++ Pilot

The QML Pilot

Plugin

Example Usage

PluginParameter

QLocation Namespace

QML Maps

Overview

Position on map

Geocoding

Navigation

Zoom, Pinch and Flickable

QML Types

Maps

Geocoding

Routing

Example

QML Places API

Overview

Introductory Concepts

Plugin

Models, Views and Delegates

Common Use Cases

Searching for Places

Display Search Results using a ListView

Display Search Results using a MapItemView

Fetching Place Details

Saving and Removing Places

Learn More

Places Types

Data Types

Models

Contact Information

Extended Attributes

Content

Attribution

Categories

Saving Caveats

Attribute Types

User Readable and Non-User Readable Attributes

Contact Types

Obtaining a QPlaceManager Instance

Asynchronous Interface

Category Initialization

Qt Location

Using the Module

QML API

C++ API

Building with CMake

Building with qmake

Submodules

Places

Maps and Navigation

Examples

API Reference

Plugin References and Parameters

Implementing New Back-Ends and Porting

Licenses

Qt Location C++ API

Geoservice Provider Classes

Maps and Navigation Classes

Places Classes

Geoservices and Positioning Plugin Classes

Qt Location GeoServices

Plugin Description

Implementing Plugins

Qt Location Items Overlay Plugin

Overview

Example usage

Qt Location Open Street Map Plugin

Overview

Parameters

Optional parameters

Parameter Usage Example

QML

Other Plugin-specific Information

Tile cache

ReviewModel

RouteModel

Example Usage

RouteQuery

Example Usage

cameraCapabilities

contactDetail

Examples

icon

mapType

placeAttribute

ratings

route

Example

routeManeuver

Example

routeSegment

Example

supplier

Example

user

Example

QML Maps Plugin

Qt Location Examples

Qt Location C++ Classes

Qt Location QML Types

Overview

Plugins

Related Information

Common QML Types

Maps QML Types

Navigation and Routing QML Types

Geocoding QML Types

Places QML Types

Alphabetical Listing of All QML Types