comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java @ 1403:6a7cfe9d87fe

Repaired broken WMS layer controls in map theme panel. flys-client/trunk@3288 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 18 Nov 2011 12:06:16 +0000
parents 78542ff1f562
children d50c3262e638
comparison
equal deleted inserted replaced
1402:15ef3d3081b7 1403:6a7cfe9d87fe
241 241
242 Theme theme = facet.getTheme(); 242 Theme theme = facet.getTheme();
243 theme.setVisible(0); 243 theme.setVisible(0);
244 theme.setActive(0); 244 theme.setActive(0);
245 245
246 getMapOutputTab().removeLayer(theme.getDescription()); 246 AttributedTheme at = (AttributedTheme) theme;
247 getMapOutputTab().removeLayer(at.getAttr("layers"));
247 } 248 }
248 249
249 updateCollection(); 250 updateCollection();
250 } 251 }
251 }); 252 });

http://dive4elements.wald.intevation.org