Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java @ 1397:b3264b5770b3
Update the map when receiving a RedrawRequestEvent.
flys-client/trunk@3235 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 11 Nov 2011 10:43:36 +0000 |
parents | 9aa1a453eed5 |
children | 96708d81eaf6 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java Fri Nov 11 07:26:21 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java Fri Nov 11 10:43:36 2011 +0000 @@ -231,7 +231,9 @@ } public void onSuccess(MapConfig c) { + GWT.log("We want to refresh the map now!"); themePanel.updateCollection(); + getFloodmap().update(); } }); } @@ -242,6 +244,11 @@ } + protected FloodMap getFloodmap() { + return floodMap; + } + + protected Map getMap() { return floodMap.getMap(); } @@ -425,6 +432,7 @@ } } ); + themePanel.addRedrawRequestHandler(this); c.addChild(themePanel); return c;