Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
geocodingmanagerengine_esri.h
Go to the documentation of this file.
1
// Copyright (C) 2013-2018 Esri <contracts@esri.com>
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
GEOCODINGMANAGERENGINEESRI_H
5
#
define
GEOCODINGMANAGERENGINEESRI_H
6
7
#
include
<
QGeoServiceProvider
>
8
#
include
<
QGeoCodingManagerEngine
>
9
#
include
<
QGeoCodeReply
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QNetworkAccessManager;
14
15
class
GeoCodingManagerEngineEsri
:
public
QGeoCodingManagerEngine
16
{
17
Q_OBJECT
18
19
public
:
20
GeoCodingManagerEngineEsri
(
const
QVariantMap
&
parameters
,
QGeoServiceProvider
::
Error
*
error
,
21
QString
*
errorString
);
22
virtual
~
GeoCodingManagerEngineEsri
();
23
24
QGeoCodeReply
*
geocode
(
const
QGeoAddress &address,
const
QGeoShape &bounds)
override
;
25
QGeoCodeReply
*
geocode
(
const
QString &address,
int
limit,
int
offset,
26
const
QGeoShape &bounds)
override
;
27
QGeoCodeReply
*
reverseGeocode
(
const
QGeoCoordinate &coordinate,
28
const
QGeoShape &bounds)
override
;
29
30
private
Q_SLOTS
:
31
void
replyFinished
();
32
void
replyError(QGeoCodeReply::Error errorCode,
const
QString &errorString);
33
34
private
:
35
QNetworkAccessManager *m_networkManager;
36
QByteArray m_userAgent;
37
};
38
39
QT_END_NAMESPACE
40
41
#
endif
// GEOCODINGMANAGERENGINEESRI_H
GeoCodeReplyEsri
Definition
geocodereply_esri.h:15
GeoCodingManagerEngineEsri
Definition
geocodingmanagerengine_esri.h:16
GeoCodingManagerEngineEsri::geocode
QGeoCodeReply * geocode(const QString &address, int limit, int offset, const QGeoShape &bounds) override
Begins geocoding for a location matching address.
Definition
geocodingmanagerengine_esri.cpp:72
GeoCodingManagerEngineEsri::reverseGeocode
QGeoCodeReply * reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) override
Begins the reverse geocoding of coordinate.
Definition
geocodingmanagerengine_esri.cpp:107
GeoCodingManagerEngineEsri::geocode
QGeoCodeReply * geocode(const QGeoAddress &address, const QGeoShape &bounds) override
Begins the geocoding of address.
Definition
geocodingmanagerengine_esri.cpp:66
GeoCodingManagerEngineEsri::~GeoCodingManagerEngineEsri
virtual ~GeoCodingManagerEngineEsri()
Definition
geocodingmanagerengine_esri.cpp:62
kUrlGeocode
static const QString kUrlGeocode(QStringLiteral("https://geocode.arcgis.com/arcgis/rest/services/" "World/GeocodeServer/findAddressCandidates"))
boundingBoxToLtrb
static QString boundingBoxToLtrb(const QGeoRectangle &rect)
Definition
geocodingmanagerengine_esri.cpp:40
kParamUserAgent
static const QString kParamUserAgent(kPrefixEsri+QStringLiteral("useragent"))
addressToQuery
static QString addressToQuery(const QGeoAddress &address)
Definition
geocodingmanagerengine_esri.cpp:31
kUrlReverseGeocode
static const QString kUrlReverseGeocode(QStringLiteral("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode"))
kPrefixEsri
static QT_BEGIN_NAMESPACE const QString kPrefixEsri(QStringLiteral("esri."))
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
plugins
geoservices
esri
geocodingmanagerengine_esri.h
Generated on
for Qt by
1.18.0