|
QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Contains decoded features of a single vector tile and any other data necessary for rendering of it. More...
#include <qgsvectortilerenderer.h>
Public Member Functions | |
| QgsVectorTileRendererData (QgsTileXYZ id) | |
| Constructs the object. More... | |
| QgsVectorTileFeatures | features () const |
| Returns features of the tile grouped by sub-layer names. More... | |
| QMap< QString, QgsFields > | fields () const |
| Returns per-layer fields. More... | |
| QgsTileXYZ | id () const |
| Returns coordinates of the tile. More... | |
| QVector< QgsFeature > | layerFeatures (const QString &layerName) const |
| Returns list of all features within a single sub-layer. More... | |
| QStringList | layers () const |
| Returns list of layer names present in the tile. More... | |
| void | setFeatures (const QgsVectorTileFeatures &features) |
| Sets features of the tile. More... | |
| void | setFields (const QMap< QString, QgsFields > &fields) |
| Sets per-layer fields. More... | |
| void | setTilePolygon (QPolygon polygon) |
| Sets polygon of the tile. More... | |
| QPolygon | tilePolygon () const |
| Returns polygon (made out of four corners of the tile) in screen coordinates calculated from render context. More... | |
Contains decoded features of a single vector tile and any other data necessary for rendering of it.
Definition at line 37 of file qgsvectortilerenderer.h.
|
inlineexplicit |
Constructs the object.
Definition at line 41 of file qgsvectortilerenderer.h.
|
inline |
Returns features of the tile grouped by sub-layer names.
Definition at line 59 of file qgsvectortilerenderer.h.
|
inline |
Returns per-layer fields.
Definition at line 54 of file qgsvectortilerenderer.h.
|
inline |
Returns coordinates of the tile.
Definition at line 44 of file qgsvectortilerenderer.h.
|
inline |
Returns list of all features within a single sub-layer.
Definition at line 63 of file qgsvectortilerenderer.h.
|
inline |
Returns list of layer names present in the tile.
Definition at line 61 of file qgsvectortilerenderer.h.
|
inline |
Sets features of the tile.
Definition at line 57 of file qgsvectortilerenderer.h.
|
inline |
Sets per-layer fields.
Definition at line 52 of file qgsvectortilerenderer.h.
|
inline |
Sets polygon of the tile.
Definition at line 47 of file qgsvectortilerenderer.h.
|
inline |
Returns polygon (made out of four corners of the tile) in screen coordinates calculated from render context.
Definition at line 49 of file qgsvectortilerenderer.h.