New answers tagged

4 votes

Changing layer filter according to Map Theme in QGIS

If you really don't want to do it with Rule-based symbology, you can automate switching the filter using PyQGIS by connecting a function to the iface.mapCanvas().layersChanged() signal. The function ...
Matt's user avatar
  • 14.9k

Top 50 recent answers are included