4#ifndef GEOROUTINGMANAGERENGINEESRI_H
5#define GEOROUTINGMANAGERENGINEESRI_H
7#include <QGeoServiceProvider>
8#include <QGeoRoutingManagerEngine>
12class QNetworkAccessManager;
27 void replyError(QGeoRouteReply::Error errorCode,
const QString &errorString);
30 QString preferedDirectionLangage();
31 QString preferedDirectionsLengthUnits();
33 QNetworkAccessManager *m_networkManager;
34 QByteArray m_userAgent;
virtual ~GeoRoutingManagerEngineEsri()
QGeoRouteReply * calculateRoute(const QGeoRouteRequest &request) override
Begins the calculation of the route specified by request.
static const QString kParamUserAgent(kPrefixEsri+QStringLiteral("useragent"))
static const QString kParamToken(kPrefixEsri+QStringLiteral("token"))
static QT_BEGIN_NAMESPACE const QString kPrefixEsri(QStringLiteral("esri."))
static const QString kUrlRouting(QStringLiteral("https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve"))