4#ifndef GEOTILEFETCHERESRI_H
5#define GEOTILEFETCHERESRI_H
7#include <QtLocation/private/qgeotilefetcher_p.h>
11class QGeoTiledMappingManagerEngine;
12class QNetworkAccessManager;
25 inline void setToken(
const QString &token);
30 QNetworkAccessManager *m_networkManager;
31 QByteArray m_userAgent;
42 m_userAgent = userAgent;
void setUserAgent(const QByteArray &userAgent)
const QByteArray & userAgent() const
const QString & token() const
void setToken(const QString &token)
QGeoTiledMapReply * getTileImage(const QGeoTileSpec &spec) override
QGeoMap * createMap() override
virtual ~GeoTiledMappingManagerEngineEsri()
GeoMapSource * mapSource(int mapId) const
static const QString kParamMaximumZoomLevel(kPrefixMapping+QStringLiteral("maximumZoomLevel"))
static const QString kPropCopyright(QStringLiteral("copyrightText"))
static const QString kPropMapSources(QStringLiteral("mapSources"))
static const QString kParamUserAgent(kPrefixEsri+QStringLiteral("useragent"))
static const QString kPropNight(QStringLiteral("night"))
static const QString kParamToken(kPrefixEsri+QStringLiteral("token"))
static const QString kPropName(QStringLiteral("name"))
static QT_BEGIN_NAMESPACE const QString kPrefixEsri(QStringLiteral("esri."))
static const QString kParamMinimumZoomLevel(kPrefixMapping+QStringLiteral("minimumZoomLevel"))
static const QString kPropMapId(QStringLiteral("mapId"))
static const QString kPrefixMapping(kPrefixEsri+QStringLiteral("mapping."))
static const QString kPropMobile(QStringLiteral("mobile"))
static const QString kPropStyle(QStringLiteral("style"))
static const QString kPropUrl(QStringLiteral("url"))
static const QString kPropDescription(QStringLiteral("description"))
Combined button and popup list for selecting options.