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
8
#
include
"qgeomappingmanagerenginemapboxgl.h"
9
#
include
<
QtLocation
/
private
/
qgeomap_p
.
h
>
10
11
class
QGeoMapMapboxGLPrivate;
12
13
class
QGeoMapMapboxGL
:
public
QGeoMap
14
{
15
Q_OBJECT
16
Q_DECLARE_PRIVATE(
QGeoMapMapboxGL
)
17
18
public
:
19
QGeoMapMapboxGL
(
QGeoMappingManagerEngineMapboxGL
*
engine
,
QObject
*
parent
);
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
28
private
Q_SLOTS
:
29
// QMapboxGL
30
void
onMapChanged
(
QMapboxGL
::
MapChange
);
31
32
// QDeclarativeGeoMapItemBase
33
void
onMapItemPropertyChanged();
34
void
onMapItemSubPropertyChanged();
35
void
onMapItemUnsupportedPropertyChanged();
36
void
onMapItemGeometryChanged();
37
38
public
Q_SLOTS
:
39
void
copyrightsChanged
(
const
QString
&
copyrightsHtml
);
40
41
private
:
42
QSGNode
*
updateSceneGraph
(QSGNode *oldNode, QQuickWindow *window)
override
;
43
44
QGeoMappingManagerEngineMapboxGL *m_engine;
45
};
46
47
#
endif
// QGEOMAPMAPBOXGL_H
QGeoMapMapboxGLPrivate
Definition
qgeomapmapboxgl_p.h:20
QGeoMapMapboxGL
Definition
qgeomapmapboxgl.h:14
QGeoMapMapboxGL::setMapboxGLSettings
void setMapboxGLSettings(const QMapboxGLSettings &, bool useChinaEndpoint)
Definition
qgeomapmapboxgl.cpp:332
QGeoMapMapboxGL::copyrightsStyleSheet
QString copyrightsStyleSheet() const override
Definition
qgeomapmapboxgl.cpp:327
QGeoMapMapboxGL::capabilities
Capabilities capabilities() const override
Definition
qgeomapmapboxgl.cpp:362
QGeoMapMapboxGL::setUseFBO
void setUseFBO(bool)
Definition
qgeomapmapboxgl.cpp:350
QGeoMapMapboxGL::setMapItemsBefore
void setMapItemsBefore(const QString &)
Definition
qgeomapmapboxgl.cpp:356
QGeoMapMapboxGL::~QGeoMapMapboxGL
virtual ~QGeoMapMapboxGL()
Definition
qgeomapmapboxgl.cpp:323
QGeoMapMapboxGL::updateSceneGraph
QSGNode * updateSceneGraph(QSGNode *oldNode, QQuickWindow *window) override
Definition
qgeomapmapboxgl.cpp:370
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
MBGL_TILE_SIZE
#define MBGL_TILE_SIZE
Definition
qgeomapmapboxgl.cpp:29
qtlocation
src
plugins
geoservices
mapboxgl
qgeomapmapboxgl.h
Generated on
for Qt by
1.14.0