16 #ifndef QGSVECTORTILELAYERRENDERER_H
17 #define QGSVECTORTILELAYERRENDERER_H
47 virtual bool render()
override;
65 int mSourceMinZoom = -1;
67 int mSourceMaxZoom = -1;
69 std::unique_ptr<QgsVectorTileRenderer> mRenderer;
78 bool mDrawTileBoundaries =
false;
83 std::unique_ptr<QgsFeedback> mFeedback;
91 QMap<QString, QgsFields> mPerLayerFields;
94 QSet< QString > mRequiredLayers;
97 int mTotalDecodeTime = 0;
99 int mTotalDrawTime = 0;
101 QList< QgsMapClippingRegion > mClippingRegions;
102 double mLayerOpacity = 1.0;
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Base class for utility classes that encapsulate information necessary for rendering of map layers.
Contains information about the context of a rendering operation.
Defines a matrix of tiles for a single zoom level: it is defined by its size (width *.
Range of tiles in a tile matrix to be rendered.
Internal base class for implementation of label providers for vector tile labeling.
This class provides map rendering functionality for vector tile layers.
virtual QgsFeedback * feedback() const override
Access to feedback object of the layer renderer (may be nullptr)
bool forceRasterRender() const override
Returns true if the renderer must be rendered to a raster paint device (e.g.
QgsVectorTileLayerRenderer(QgsVectorTileLayer *layer, QgsRenderContext &context)
Creates the renderer. Always called from main thread, should copy whatever necessary from the layer.
virtual bool render() override
Do the rendering (based on data stored in the class).
Implements a map layer that is dedicated to rendering of vector tiles.
Keeps track of raw tile data that need to be decoded.