\titleQt Location QML Types \ingroup qmlmodules

Overview

In short, the main QML types and their roles are as follows:

  • The Place instances hold information about the destination and surrounding objects, including displayable representations.
  • The Map enables the information contained in Place objects to be displayed, panned, zoomed, and so on.
  • The route is be determined by a plugin, with each routeSegment holding the navigation instructions, guided by the continuously updated current Location.

Plugins

Plugins supply the data required to calculate routes and navigation instructions, and they are typically tied to a specific location-based service. For example, a plugin may allow connecting to a service that provides geocoding and routing information, which can be consumed by the application.

There may be various GeoServices plugins for various tasks, with some plugins providing more than one service. One QML Plugin instance must be created for each GeoService plugin. Plugins are required for routing and geocoding, maps, and places, however the default plugin handles all four of these services. A plugin may require online access or it may support on-board maps and data.

Note: Plugins may not provide features such as paging or relevance hints.

The following links provide more information about maps and places:

Maps and NavigationDisplaying maps and finding routes
PlacesSearching for and managing points of interest

Common QML Types

Maps QML Types

Geocoding QML Types

Places QML Types

Alphabetical Listing of All QML Types

MapView

An interactive map viewer component