4#ifndef QGEOCODINGMANAGERENGINEOSM_H
5#define QGEOCODINGMANAGERENGINEOSM_H
7#include <QtLocation/QGeoServiceProvider>
8#include <QtLocation/QGeoCodingManagerEngine>
9#include <QtLocation/QGeoCodeReply>
13class QNetworkAccessManager;
26 const QGeoShape &bounds)
override;
28 const QGeoShape &bounds)
override;
32 void replyError(QGeoCodeReply::Error errorCode,
const QString &errorString);
35 QNetworkAccessManager *m_networkManager;
36 QByteArray m_userAgent;
38 bool m_debugQuery =
false;
39 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.
static QString boundingBoxToLtrb(const QGeoRectangle &rect)
static QT_BEGIN_NAMESPACE QString addressToQuery(const QGeoAddress &address)