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
qgeomapmapboxgl.h
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// Copyright (C) 2017 Mapbox, Inc.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QGEOMAPMAPBOXGL_H
6#define QGEOMAPMAPBOXGL_H
7
9#include <QtLocation/private/qgeomap_p.h>
10
11class QGeoMapMapboxGLPrivate;
12
14{
15 Q_OBJECT
16 Q_DECLARE_PRIVATE(QGeoMapMapboxGL)
17
18public:
20 virtual ~QGeoMapMapboxGL();
21
22 QString copyrightsStyleSheet() const override;
23 void setMapboxGLSettings(const QMapboxGLSettings &, bool useChinaEndpoint);
24 void setUseFBO(bool);
25 void setMapItemsBefore(const QString &);
26 Capabilities capabilities() const override;
27
28private Q_SLOTS:
29 // QMapboxGL
31
32 // QDeclarativeGeoMapItemBase
33 void onMapItemPropertyChanged();
34 void onMapItemSubPropertyChanged();
35 void onMapItemUnsupportedPropertyChanged();
36 void onMapItemGeometryChanged();
37
38public Q_SLOTS:
40
41private:
42 QSGNode *updateSceneGraph(QSGNode *oldNode, QQuickWindow *window) override;
43
44 QGeoMappingManagerEngineMapboxGL *m_engine;
45};
46
47#endif // QGEOMAPMAPBOXGL_H
void setMapboxGLSettings(const QMapboxGLSettings &, bool useChinaEndpoint)
QString copyrightsStyleSheet() const override
Capabilities capabilities() const override
void setMapItemsBefore(const QString &)
QSGNode * updateSceneGraph(QSGNode *oldNode, QQuickWindow *window) override
#define MBGL_TILE_SIZE