Patch for ticket 2416 (Theme rules for a layer with multiple scale ranges stay shown in the legend if moving back to a scale range where that layer has no theme rules)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Patch for ticket 2416 (Theme rules for a layer with multiple scale ranges stay shown in the legend if moving back to a scale range where that layer has no theme rules)

Jackie Ng
Hi All,

I've attached a patch for ticket 2416.

http://trac.osgeo.org/mapguide/ticket/2416

This fixes display of themed layers in the AJAX viewer legend when a user moves out into a scale range where that layer is not themed. Before this patch, the theme rules of the previous scale range would remain under that layer node even though those rules aren't applicable for the current scale.

Please review. Thanks.

- Jackie