Opened 14 years ago

Closed 14 years ago

#1213 closed enhancement (invalid)

Maestro: consider supporting RFC50 "Hide from legend"

Reported by: jbirch Owned by: ksgeograf
Priority: low Milestone:
Component: Maestro Version:
Severity: trivial Keywords:
Cc: External ID:

Description

RFC 50 allows users to hide TypeStyles from display in the legend.

Currently Maestro allows you to add/remove TypeStyles, but not hide them. As far as I can tell, it would just require another checkbox "Show in Legend" on each TypeStyle when using 1.3 layer schema (defaulted to True), and add the ShowInLegend element.

I can't tell from the RFC whether this only hides the item from the legend and still renders the feature type when encountered, or if it stops the rendering too. I'm guessing the former, but will have to test.

Change History (2)

comment:1 by ksgeograf, 14 years ago

This is already done; the "Show in legend" checkbox besides the Theme button does this. IIRC its tooltip states that you need to change to LayerDefinition 1.3.0.

It also supports saving this info in the ExtendedData if you choose a version less than 1.3.0, and converts correctly if you change version.

It is also my understanding that RFC 50 just hides the legend symbol.

comment:2 by jbirch, 14 years ago

Resolution: invalid
Status: newclosed

OK, I'm an idiot :)

I'd suggest a wording change on that check box to "Show in Legend"; legend label to me is just the text displayed.

Note: See TracTickets for help on using tickets.