QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Configuration of a single input vector layer to be included in the output. More...
#include <qgsvectortilewriter.h>
Public Member Functions | |
Layer (QgsVectorLayer *layer) | |
Constructs an entry for a vector layer. More... | |
QString | filterExpression () const |
Returns filter expression. If not empty, only features matching the expression will be used. More... | |
QgsVectorLayer * | layer () const |
Returns vector layer of this entry. More... | |
QString | layerName () const |
Returns layer name in the output. If not set, layer()->name() will be used. More... | |
int | maxZoom () const |
Returns maximum zoom level at which this layer will be used. Negative value means no max. zoom level. More... | |
int | minZoom () const |
Returns minimum zoom level at which this layer will be used. Negative value means no min. zoom level. More... | |
void | setFilterExpression (const QString &expr) |
Sets filter expression. If not empty, only features matching the expression will be used. More... | |
void | setLayerName (const QString &name) |
Sets layer name in the output. If not set, layer()->name() will be used. More... | |
void | setMaxZoom (int maxzoom) |
Sets maximum zoom level at which this layer will be used. Negative value means no max. zoom level. More... | |
void | setMinZoom (int minzoom) |
Sets minimum zoom level at which this layer will be used. Negative value means no min. zoom level. More... | |
Configuration of a single input vector layer to be included in the output.
Definition at line 84 of file qgsvectortilewriter.h.
|
inlineexplicit |
Constructs an entry for a vector layer.
Definition at line 88 of file qgsvectortilewriter.h.
|
inline |
Returns filter expression. If not empty, only features matching the expression will be used.
Definition at line 97 of file qgsvectortilewriter.h.
|
inline |
Returns vector layer of this entry.
Definition at line 94 of file qgsvectortilewriter.h.
|
inline |
Returns layer name in the output. If not set, layer()->name() will be used.
Definition at line 102 of file qgsvectortilewriter.h.
|
inline |
Returns maximum zoom level at which this layer will be used. Negative value means no max. zoom level.
Definition at line 112 of file qgsvectortilewriter.h.
|
inline |
Returns minimum zoom level at which this layer will be used. Negative value means no min. zoom level.
Definition at line 107 of file qgsvectortilewriter.h.
|
inline |
Sets filter expression. If not empty, only features matching the expression will be used.
Definition at line 99 of file qgsvectortilewriter.h.
|
inline |
Sets layer name in the output. If not set, layer()->name() will be used.
Definition at line 104 of file qgsvectortilewriter.h.
|
inline |
Sets maximum zoom level at which this layer will be used. Negative value means no max. zoom level.
Definition at line 114 of file qgsvectortilewriter.h.
|
inline |
Sets minimum zoom level at which this layer will be used. Negative value means no min. zoom level.
Definition at line 109 of file qgsvectortilewriter.h.