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// Qt-Security score:significant reason:default
4
5#ifndef QGEOTILEDMAPPINGMANAGERENGINEOSM_H
6#define QGEOTILEDMAPPINGMANAGERENGINEOSM_H
7
9
10#include <QtLocation/QGeoServiceProvider>
11#include <QtLocation/private/qgeotiledmappingmanagerengine_p.h>
12
13#include <QList>
14
16
18{
20
21 friend class QGeoTiledMapOsm;
22public:
23 QGeoTiledMappingManagerEngineOsm(const QVariantMap &parameters,
24 QGeoServiceProvider::Error *error, QString *errorString);
26
27 QGeoMap *createMap() override;
30
31protected Q_SLOTS:
34
35protected:
36 void updateMapTypes();
37
38private:
39 QList<QGeoTileProviderOsm *> m_providers;
40 QString m_customCopyright;
41 QString m_cacheDirectory;
42 QString m_offlineDirectory;
43};
44
45QT_END_NAMESPACE
46
47#endif // QGEOTILEDMAPPINGMANAGERENGINEOSM_H
QGeoTiledMappingManagerEngineOsm(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString)
const QList< QGeoTileProviderOsm * > & providers()
void onProviderResolutionError(const QGeoTileProviderOsm *provider)
Combined button and popup list for selecting options.