QgsPointDistanceRenderer::GroupedFeature struct

Contains properties for a feature within a clustered group.

Constructors, destructors, conversion operators

GroupedFeature(const QgsFeature& feature, QgsMarkerSymbol* symbol, bool isSelected, const QString& label = QString())
Constructor for GroupedFeature.

Public functions

auto symbol() const -> QgsMarkerSymbol*
Base symbol for rendering feature.

Public variables

QgsFeature feature
Feature.
bool isSelected
True if feature is selected and should be rendered in a selected state.
QString label
Optional label text.

Function documentation

QgsPointDistanceRenderer::GroupedFeature::GroupedFeature(const QgsFeature& feature, QgsMarkerSymbol* symbol, bool isSelected, const QString& label = QString())

Constructor for GroupedFeature.

Parameters
feature feature
symbol base symbol for rendering feature (owned by GroupedFeature)
isSelected set to true if feature is selected and should be rendered in a selected state
label optional label text, or empty string for no label