Class: QgsVectorTileBasicLabeling¶
Basic labeling configuration for vector tile layers.
It contains a definition of a list of labeling styles, where each labeling style is a combination of sub-layer name, geometry type, filter expression, zoom range and label settings.
Added in version 3.14.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for labeling configuration classes for vector tile layers. |
Methods
Updates style definition at the paricular index of the list (the index must be in interval [0,N-1] otherwise this function does nothing) |
|
Sets list of styles of the renderer |
|
Returns style definition at the particular index |
|
Returns list of styles of the renderer |
- class qgis.core.QgsVectorTileBasicLabeling[source]¶
Bases:
QgsVectorTileLabeling- setStyle(self, index: int, style: QgsVectorTileBasicLabelingStyle)[source]¶
Updates style definition at the paricular index of the list (the index must be in interval [0,N-1] otherwise this function does nothing)
- Parameters:
index (int)
style (QgsVectorTileBasicLabelingStyle)
- setStyles(self, styles: Iterable[QgsVectorTileBasicLabelingStyle])[source]¶
Sets list of styles of the renderer
- Parameters:
styles (Iterable[QgsVectorTileBasicLabelingStyle])
- style(self, index: int) QgsVectorTileBasicLabelingStyle[source]¶
Returns style definition at the particular index
- Parameters:
index (int)
- Return type:
- styles(self) list[QgsVectorTileBasicLabelingStyle]¶
Returns list of styles of the renderer
- Return type: