Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qgeotiledmap_p.h
Go to the documentation of this file.
1
// Copyright (C) 2015 The Qt Company Ltd.
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
#
ifndef
QGEOTILEDMAP_P_H
5
#
define
QGEOTILEDMAP_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QObject
>
19
#
include
<
QString
>
20
#
include
<
QtLocation
/
private
/
qlocationglobal_p
.
h
>
21
#
include
<
QtLocation
/
private
/
qgeomap_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QGeoTileSpec;
26
struct
QGeoTileTexture
;
27
class
QAbstractGeoTileCache;
28
class
QGeoTiledMapPrivate;
29
class
QGeoTiledMappingManagerEngine;
30
class
QGeoTileRequestManager;
31
32
class
QQuickWindow;
33
class
QSGNode;
34
35
class
QPointF
;
36
37
class
Q_LOCATION_EXPORT
QGeoTiledMap
:
public
QGeoMap
38
{
39
Q_OBJECT
40
Q_DECLARE_PRIVATE(QGeoTiledMap)
41
public
:
42
enum
PrefetchStyle { NoPrefetching, PrefetchNeighbourLayer, PrefetchTwoNeighbourLayers };
43
QGeoTiledMap(QGeoTiledMappingManagerEngine *engine, QObject *parent);
44
virtual
~QGeoTiledMap();
45
46
QAbstractGeoTileCache *tileCache();
47
QGeoTileRequestManager *requestManager();
48
void
updateTile(
const
QGeoTileSpec &spec);
49
void
setPrefetchStyle(PrefetchStyle style);
50
51
void
prefetchData() override;
52
void
clearData() override;
53
Capabilities capabilities()
const
override;
54
55
void
setCopyrightVisible(
bool
visible) override;
56
57
public
Q_SLOTS:
58
virtual
void
clearScene(
int
mapId);
59
60
protected
:
61
QSGNode *updateSceneGraph(QSGNode *, QQuickWindow *window) override;
62
virtual
void
evaluateCopyrights(
const
QSet<QGeoTileSpec> &visibleTiles);
63
64
QGeoTiledMap(QGeoTiledMapPrivate &dd, QGeoTiledMappingManagerEngine *engine, QObject *parent);
65
66
private
Q_SLOTS:
67
void
handleTileVersionChanged();
68
69
private
:
70
Q_DISABLE_COPY(QGeoTiledMap)
71
72
};
73
74
QT_END_NAMESPACE
75
76
#
endif
// QGEOMAP_P_H
QGeoTiledMap
Definition
qgeotiledmap_p.h:38
QPointF
\inmodule QtCore\reentrant
Definition
qpoint.h:232
PREFETCH_FRUSTUM_SCALE
#define PREFETCH_FRUSTUM_SCALE
Definition
qgeotiledmap.cpp:18
QGeoTileTexture
Definition
qabstractgeotilecache_p.h:40
qtlocation
src
location
maps
qgeotiledmap_p.h
Generated on
for Qt by
1.18.0