5#ifndef QGEOCODINGMANAGERENGINEOSM_H
6#define QGEOCODINGMANAGERENGINEOSM_H
8#include <QtLocation/QGeoServiceProvider>
9#include <QtLocation/QGeoCodingManagerEngine>
10#include <QtLocation/QGeoCodeReply>
14class QNetworkAccessManager;
27 const QGeoShape &bounds)
override;
29 const QGeoShape &bounds)
override;
33 void replyError(QGeoCodeReply::Error errorCode,
const QString &errorString);
36 QNetworkAccessManager *m_networkManager;
37 QByteArray m_userAgent;
39 bool m_debugQuery =
false;
40 bool m_includeExtraData =
false;
QGeoCodeReply * geocode(const QString &address, int limit, int offset, const QGeoShape &bounds) override
Begins geocoding for a location matching address.
QGeoCodeReply * reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) override
Begins the reverse geocoding of coordinate.
~QGeoCodingManagerEngineOsm()
QGeoCodeReply * geocode(const QGeoAddress &address, const QGeoShape &bounds) override
Begins the geocoding of address.
Combined button and popup list for selecting options.
static QString boundingBoxToLtrb(const QGeoRectangle &rect)
static QT_BEGIN_NAMESPACE QString addressToQuery(const QGeoAddress &address)