QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
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. | |
QString | filterExpression () const |
Returns filter expression. If not empty, only features matching the expression will be used. | |
QgsVectorLayer * | layer () const |
Returns vector layer of this entry. | |
QString | layerName () const |
Returns layer name in the output. If not set, layer()->name() will be used. | |
int | maxZoom () const |
Returns maximum zoom level at which this layer will be used. Negative value means no max. zoom level. | |
int | minZoom () const |
Returns minimum zoom level at which this layer will be used. Negative value means no min. zoom level. | |
void | setFilterExpression (const QString &expr) |
Sets filter expression. If not empty, only features matching the expression will be used. | |
void | setLayerName (const QString &name) |
Sets layer name in the output. If not set, layer()->name() will be used. | |
void | setMaxZoom (int maxzoom) |
Sets maximum zoom level at which this layer will be used. Negative value means no max. zoom level. | |
void | setMinZoom (int minzoom) |
Sets minimum zoom level at which this layer will be used. Negative value means no min. zoom level. | |
Configuration of a single input vector layer to be included in the output.
Definition at line 88 of file qgsvectortilewriter.h.
|
inlineexplicit |
Constructs an entry for a vector layer.
Definition at line 92 of file qgsvectortilewriter.h.
|
inline |
Returns filter expression. If not empty, only features matching the expression will be used.
Definition at line 101 of file qgsvectortilewriter.h.
|
inline |
Returns vector layer of this entry.
Definition at line 98 of file qgsvectortilewriter.h.
|
inline |
Returns layer name in the output. If not set, layer()->name() will be used.
Definition at line 106 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 116 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 111 of file qgsvectortilewriter.h.
|
inline |
Sets filter expression. If not empty, only features matching the expression will be used.
Definition at line 103 of file qgsvectortilewriter.h.
|
inline |
Sets layer name in the output. If not set, layer()->name() will be used.
Definition at line 108 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 118 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 113 of file qgsvectortilewriter.h.