Marble
10 #ifndef MARBLE_VECTORTILELAYER_H
11 #define MARBLE_VECTORTILELAYER_H
13 #include "TileLayer.h"
15 #include "MarbleGlobal.h"
21 class GeoDataDocument;
23 class GeoSceneVectorTileDataset;
24 class GeoDataTreeModel;
26 class HttpDownloadManager;
30 class MARBLE_EXPORT VectorTileLayer :
public TileLayer
35 VectorTileLayer(HttpDownloadManager *downloadManager,
36 const PluginManager *pluginManager,
37 GeoDataTreeModel *treeModel);
39 ~VectorTileLayer()
override;
41 RenderState renderState()
const override;
43 int tileZoomLevel()
const;
45 QString runtimeTrace()
const override;
47 bool render(GeoPainter *painter, ViewportParams *viewport,
49 GeoSceneLayer *layer =
nullptr)
override;
53 QSize tileSize()
const;
54 const GeoSceneAbstractTileProjection *tileProjection()
const;
56 int tileColumnCount(
int level )
const;
57 int tileRowCount(
int level )
const;
59 int layerCount()
const;
61 void downloadTile(
const TileId &stackedTileId );
64 void tileLevelChanged(
int tileLevel);
72 Q_PRIVATE_SLOT(d,
void updateLayerSettings())
73 Q_PRIVATE_SLOT(d,
void updateTile(const TileId &tileId, GeoDataDocument* document))
84 #endif // MARBLE_VECTORTILELAYER_H
const QList< QKeySequence > & reload()
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Oct 4 2023 04:09:43 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.