QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgsvectortilelayerrenderer.h>
Public Member Functions | |
QgsVectorTileLayerRenderer (QgsVectorTileLayer *layer, QgsRenderContext &context) | |
Creates the renderer. Always called from main thread, should copy whatever necessary from the layer. More... | |
virtual QgsFeedback * | feedback () const override |
Access to feedback object of the layer renderer (may be nullptr ) More... | |
virtual bool | render () override |
Do the rendering (based on data stored in the class) More... | |
![]() | |
QgsMapLayerRenderer (const QString &layerID, QgsRenderContext *context=nullptr) | |
Constructor for QgsMapLayerRenderer, with the associated layerID and render context. More... | |
virtual | ~QgsMapLayerRenderer ()=default |
QStringList | errors () const |
Returns list of errors (problems) that happened during the rendering. More... | |
QString | layerId () const |
Gets access to the ID of the layer rendered by this class. More... | |
QgsRenderContext * | renderContext () |
Returns the render context associated with the renderer. More... | |
Additional Inherited Members | |
![]() | |
QStringList | mErrors |
QString | mLayerID |
This class provides map rendering functionality for vector tile layers. In render() function (assumed to be run in a worker thread) it will:
Definition at line 40 of file qgsvectortilelayerrenderer.h.
QgsVectorTileLayerRenderer::QgsVectorTileLayerRenderer | ( | QgsVectorTileLayer * | layer, |
QgsRenderContext & | context | ||
) |
Creates the renderer. Always called from main thread, should copy whatever necessary from the layer.
Definition at line 33 of file qgsvectortilelayerrenderer.cpp.
|
inlineoverridevirtual |
Access to feedback object of the layer renderer (may be nullptr
)
Reimplemented from QgsMapLayerRenderer.
Definition at line 47 of file qgsvectortilelayerrenderer.h.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 58 of file qgsvectortilelayerrenderer.cpp.