Feature request #19769

Add a variable returning the current map theme

Added by Harrissou Santanna about 4 years ago. Updated about 4 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:27594


Use case:
I have a print layout with a map item and a legend.
Depending on the current map theme, i'd like to hide the legend (eg, if i'm using the particular map theme that shows only aerial photography, i don't need a legend)

Related issues

Related to QGIS Application - Bug report #19674: Method theme() of QgsMapCanvas not in sync? Closed 2018-08-23


#1 Updated by Adam Szieberth about 4 years ago

Connects to #19674

#2 Updated by Jürgen Fischer about 4 years ago

Also available in: Atom PDF