Feature request #19769
Add a variable returning the current map theme
Status: | Open | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Expressions | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 27594 |
Description
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
History
#1 Updated by Adam Szieberth about 6 years ago
Connects to #19674
#2 Updated by Jürgen Fischer about 6 years ago
- Related to Bug report #19674: Method theme() of QgsMapCanvas not in sync? added