Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
geocodingmanagerengine_esri.cpp File Reference

(cd4db512ae08836f5fa1d746000052215cf70a9c)

#include "geocodingmanagerengine_esri.h"
#include "geocodereply_esri.h"
#include <QVariantMap>
#include <QUrl>
#include <QUrlQuery>
#include <QLocale>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QGeoCoordinate>
#include <QGeoAddress>
#include <QGeoShape>
#include <QGeoRectangle>
+ Include dependency graph for geocodingmanagerengine_esri.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE const QString kPrefixEsri (QStringLiteral("esri."))
 
static const QString kParamUserAgent (kPrefixEsri+QStringLiteral("useragent"))
 
static QString addressToQuery (const QGeoAddress &address)
 
static QString boundingBoxToLtrb (const QGeoRectangle &rect)
 

Variables

static const QString kUrlGeocode (QStringLiteral("https://geocode.arcgis.com/arcgis/rest/services/" "World/GeocodeServer/findAddressCandidates"))
 
static const QString kUrlReverseGeocode (QStringLiteral("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode"))
 

Function Documentation

◆ addressToQuery()

static QString addressToQuery ( const QGeoAddress & address)
static

Definition at line 31 of file geocodingmanagerengine_esri.cpp.

References QStringLiteral.

Referenced by GeoCodingManagerEngineEsri::geocode(), and QGeoCodingManagerEngineOsm::geocode().

+ Here is the caller graph for this function:

◆ boundingBoxToLtrb()

static QString boundingBoxToLtrb ( const QGeoRectangle & rect)
static

Definition at line 40 of file geocodingmanagerengine_esri.cpp.

References QString::number(), and rect.

Referenced by GeoCodingManagerEngineEsri::geocode(), and QGeoCodingManagerEngineOsm::geocode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ kParamUserAgent()

static const QString kParamUserAgent ( kPrefixEsri+ QStringLiteral"useragent")
static

Referenced by GeoCodingManagerEngineEsri::GeoCodingManagerEngineEsri(), GeoRoutingManagerEngineEsri::GeoRoutingManagerEngineEsri(), and GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri().

+ Here is the caller graph for this function:

◆ kPrefixEsri()

static QT_BEGIN_NAMESPACE const QString kPrefixEsri ( QStringLiteral("esri.") )
static

Variable Documentation

◆ kUrlGeocode

const QString kUrlGeocode(QStringLiteral("https://geocode.arcgis.com/arcgis/rest/services/" "World/GeocodeServer/findAddressCandidates")) ( QStringLiteral("https://geocode.arcgis.com/arcgis/rest/services/" "World/GeocodeServer/findAddressCandidates") )
static

◆ kUrlReverseGeocode

const QString kUrlReverseGeocode(QStringLiteral( "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode")) ( QStringLiteral( "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode") )
static