Feature request #3339

Enhancement: "add layer" button for composer legend

Added by Alister Hood over 13 years ago. Updated over 13 years ago.

Assignee:Nathan Woodrow
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:13399


For composer legend items, it would be good if there was an "add layer" button on the "Item" tab under "Legend items".

This would allow the user to choose from a list of all the layers that aren't currently in the legend, to add back a layer that had been removed from the legend. (To add a layer currently you need to click the "All" button, which loses any other customisations, e.g. layer reordering and renaming)

3339.patch Magnifier - Patch to allow adding of layers to legend, ability to turn off auto update and adds icons to some of the legend buttons. (17.6 KB) Nathan Woodrow, 2010-12-16 10:48 PM


#1 Updated by Alister Hood over 13 years ago

This enhancement would minimise the need for , and if it was implemented then I think reverting should be considered (or maybe there could be an option to control the automatic adding - perhaps a composer item option?). I can't speak for others, but I normally lock the layers in my composer maps, so it is annoying that a new layer added to the project is automatically added into existing composer legends :)

#2 Updated by Nathan Woodrow over 13 years ago

  • Status changed from Open to In Progress

I'm was working on adding this when you posted this ticket. Patch to come soon.

#3 Updated by Alister Hood over 13 years ago

Great! Thanks

#4 Updated by Tim Sutton over 13 years ago

Nathan's patch has been applied in 39c436d4 (SVN r14952). Many thanks!



#5 Updated by Nathan Woodrow over 13 years ago

  • Resolution set to fixed
  • Status changed from In Progress to Closed

Also available in: Atom PDF