blob: decd462c217ace187870b38ea04e198db0b201cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Copyright (C) 2013-2018 Esri <contracts@esri.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef GEOTILEDMAPPINGMANAGERENGINEESRI_H
#define GEOTILEDMAPPINGMANAGERENGINEESRI_H
#include <QGeoServiceProvider>
#include <QtLocation/private/qgeotiledmappingmanagerengine_p.h>
#include "geomapsource.h"
QT_BEGIN_NAMESPACE
class GeoTiledMappingManagerEngineEsri : public QGeoTiledMappingManagerEngine
{
Q_OBJECT
public:
GeoTiledMappingManagerEngineEsri(const QVariantMap ¶meters,
QGeoServiceProvider::Error *error, QString *errorString);
virtual ~GeoTiledMappingManagerEngineEsri();
QGeoMap *createMap() override;
inline const QList<GeoMapSource *>& mapSources() const;
GeoMapSource *mapSource(int mapId) const;
private:
bool initializeMapSources(QGeoServiceProvider::Error *error, QString *errorString, const QGeoCameraCapabilities &cameraCaps);
QList<GeoMapSource *> m_mapSources;
};
inline const QList<GeoMapSource *>& GeoTiledMappingManagerEngineEsri::mapSources() const
{
return m_mapSources;
}
QT_END_NAMESPACE
#endif // GEOTILEDMAPPINGMANAGERENGINEESRI_H
|