"Show Long Theme" doesn't work in basic weblayout
|Reported by:||liuar||Owned by:||liuar|
|Severity:||trivial||Keywords:||Show Long Theme, Legend|
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.