Opened 13 years ago

Closed 13 years ago

#1778 closed defect (fixed)

"Show Long Theme" doesn't work in basic weblayout

Reported by: liuar Owned by: liuar
Priority: low Milestone:
Component: AJAX Viewer Version: 2.1.0
Severity: trivial Keywords: Show Long Theme, Legend
Cc: External ID: 1393349.01

Description

If a layer has more than 10 themes, only the first one and the last one display. Other theme icons will be replaced by ...

Right click on the layer and select "Show Long Theme", other theme icons should display in legend.

This function was broken due to the implementation of dynamic legend.

To fix this, I will mark the iconWasRequested property of theme to false, and set it to true only if "Show Long Theme" is enabled.

The only small affect is that there're two more duplicated (the first and the last) theme icons. I think that's acceptable.

Change History (1)

comment:1 by liuar, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in Changeset [6061]

Note: See TracTickets for help on using tickets.