I want to control whether features from different layers are visible. These features are in a list.
I found a script in qgis api but I can not use it:
if not renderer.capabilities().testFlag(QgsFeatureRenderer.Filter) or renderer.willRenderFeature(feature, context):
deal_with_my_feature()
else:
skip_the_curren_feature()
No comments:
Post a Comment