Feature request #19769

Add a variable returning the current map theme

Added by Harrissou Santanna over 1 year ago. Updated over 1 year ago.

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

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

History

#1 Updated by Adam Szieberth over 1 year ago

Connects to #19674

#2 Updated by Jürgen Fischer over 1 year ago

Also available in: Atom PDF