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
qgeotiledmappingmanagerengineosm.h
Go to the documentation of this file.
1// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.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 QGEOTILEDMAPPINGMANAGERENGINEOSM_H
5#define QGEOTILEDMAPPINGMANAGERENGINEOSM_H
6
8
9#include <QtLocation/QGeoServiceProvider>
10#include <QtLocation/private/qgeotiledmappingmanagerengine_p.h>
11
12#include <QList>
13
15
17{
19
20 friend class QGeoTiledMapOsm;
21public:
22 QGeoTiledMappingManagerEngineOsm(const QVariantMap &parameters,
23 QGeoServiceProvider::Error *error, QString *errorString);
25
26 QGeoMap *createMap() override;
29
30protected Q_SLOTS:
33
34protected:
35 void updateMapTypes();
36
37private:
38 QList<QGeoTileProviderOsm *> m_providers;
39 QString m_customCopyright;
40 QString m_cacheDirectory;
41 QString m_offlineDirectory;
42};
43
44QT_END_NAMESPACE
45
46#endif // QGEOTILEDMAPPINGMANAGERENGINEOSM_H
QGeoTiledMappingManagerEngineOsm(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString)
const QList< QGeoTileProviderOsm * > & providers()
void onProviderResolutionError(const QGeoTileProviderOsm *provider)