IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Maps and Navigation (C++)

Provides C++ classes for Geocoding and Navigation.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Maps and Navigation (C++)

Maps and Navigation provides C++ utilities for geocoding (finding a geographic coordinate from a street address) and navigation (including driving and walking directions).

Currently it is not possible to interact with maps via C++. Mapping applications must use the Maps and Navigation (QML) API.

Geocoding

In C++, an address-to-coordinate query is performed using the geocode() method of the QGeoCodingManager class. For coordinate-to-address queries, the reverseGeocode() method is available on the same class. Instances of QGeoCodingManager are available via QGeoServiceProvider.

Key Classes

QGeoServiceProvider

Provides a QGeoCodingManager instance ready for use.

QGeoCodingManager

Accepts queries and produces QGeoCodeReply objects.

QGeoCodeReply

Contains the results of a geocoding query.

Navigation

Key Classes

QGeoServiceProvider

Provides a QGeoCodingManager instance ready for use.

QGeoRoutingManager

Accepts queries and produces QGeoRouteReply objects.

QGeoRouteReply

Contains the results of a routing query.

QGeoRoute

Contains information about a route.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+