Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java @ 5612:4f935415bb20
Hopefully fix for some map resizing issues.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 09 Apr 2013 15:32:46 +0200 |
parents | 80e8ef91223c |
children |
comparison
equal
deleted
inserted
replaced
5611:17e2324c760e | 5612:4f935415bb20 |
---|---|
301 final Layer[] layers = map.getLayers(); | 301 final Layer[] layers = map.getLayers(); |
302 | 302 |
303 for (final Layer l: layers) { | 303 for (final Layer l: layers) { |
304 l.redraw(); | 304 l.redraw(); |
305 } | 305 } |
306 | 306 } |
307 getBarrierLayer(); // Raises Z-Index to 1000 again | 307 |
308 | |
309 public void updateSize() { | |
310 this.map.updateSize(); | |
308 } | 311 } |
309 | 312 |
310 | 313 |
311 public void activateScaleLine(boolean activate) { | 314 public void activateScaleLine(boolean activate) { |
312 if (activate) { | 315 if (activate) { |