diff flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java @ 4402:c84630d544a1

Get rid of HorizontalLayout in MapOutputTab and use manual resizing. The OpenLayers Map widget is now resized and positioned manually by a ResizeHandler method. The automatic HorizontalLayout was obviously broken in combination with the OpenLayers widget. This should fix various layout issues with the OpenLayers Map.
author Christian Lins <christian.lins@intevation.de>
date Mon, 05 Nov 2012 15:17:58 +0100
parents 6d749af6a9c2
children 099d136b215b
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java	Mon Nov 05 14:39:48 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java	Mon Nov 05 15:17:58 2012 +0100
@@ -34,10 +34,10 @@
     protected Bounds    maxExtent;
     protected ScaleLine scaleLine;
 
-    public FloodMap(String srid, Bounds maxExtent) {
+    public FloodMap(String srid, Bounds maxExtent, String width, String height) {
         this.srid      = srid;
         this.maxExtent = maxExtent;
-        recreateWidget("100%", "99px");
+        recreateWidget(width, height);
         getBarrierLayer();
     }
 

http://dive4elements.wald.intevation.org