Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgeotilefetchermapbox.h
Go to the documentation of this file.
1// Copyright (C) 2014 Canonical Ltd.
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 QGEOTILEFETCHERMAPBOX_H
5#define QGEOTILEFETCHERMAPBOX_H
6
7#include <qlist.h>
8#include <QtLocation/private/qgeotilefetcher_p.h>
9
11
12class QGeoTiledMappingManagerEngine;
13class QNetworkAccessManager;
14
16{
18
19public:
21
22 void setUserAgent(const QByteArray &userAgent);
23 void setMapIds(const QList<QString> &mapIds);
24 void setFormat(const QString &format);
25 void setAccessToken(const QString &accessToken);
26
27private:
28 QGeoTiledMapReply *getTileImage(const QGeoTileSpec &spec) override;
29
30 QNetworkAccessManager *m_networkManager;
31 QByteArray m_userAgent;
32 QString m_format;
33 QString m_replyFormat;
34 QString m_accessToken;
35 QList<QString> m_mapIds;
36 int m_scaleFactor;
37};
38
39QT_END_NAMESPACE
40
41#endif // QGEOTILEFETCHERMAPBOX_H
void setMapIds(const QList< QString > &mapIds)
void setAccessToken(const QString &accessToken)
void setUserAgent(const QByteArray &userAgent)
QGeoTiledMapReply * getTileImage(const QGeoTileSpec &spec) override
void setFormat(const QString &format)