16#ifndef QGSVECTORTILELAYERRENDERER_H
17#define QGSVECTORTILELAYERRENDERER_H
49 virtual bool render()
override;
67 std::unique_ptr<QgsVectorTileRenderer> mRenderer;
76 bool mDrawTileBoundaries =
false;
81 std::unique_ptr<QgsFeedback> mFeedback;
89 QMap<QString, QgsFields> mPerLayerFields;
92 QSet< QString > mRequiredLayers;
95 QList< QgsFeature > mSelectedFeatures;
98 int mTotalDecodeTime = 0;
100 int mTotalDrawTime = 0;
102 QList< QgsMapClippingRegion > mClippingRegions;
103 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.
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 QgsFeedback * feedback() const override
Access to feedback object of the layer renderer (may be nullptr)
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.
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.
Keeps track of raw tile data that need to be decoded.