Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java @ 4553:fac54b8470d4
Map view in DigitizePanel now shows OSM background, river axis and
manual drawn barriers again.
Please note that this change requires changes in conf/floodmap.xml
in artifact-server.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Fri, 16 Nov 2012 12:36:10 +0100 |
parents | 7b454c6e2bcb |
children | 8ca06d3040d0 |
comparison
equal
deleted
inserted
replaced
4548:105dd4cc33a6 | 4553:fac54b8470d4 |
---|---|
67 GWT.log("MapPanel.size: " + width + "x" + height); | 67 GWT.log("MapPanel.size: " + width + "x" + height); |
68 | 68 |
69 width -= 2; // minus black borders | 69 width -= 2; // minus black borders |
70 height -= toolbar.getHeight() + 4; | 70 height -= toolbar.getHeight() + 4; |
71 | 71 |
72 this.floodMapWidget.setWidth(Integer.toString(width)); | 72 floodMapWidget.setSize(Integer.toString(width), Integer.toString(height)); |
73 this.floodMapWidget.setHeight(Integer.toString(height)); | 73 floodMapWidget.getMap().updateSize(); |
74 } | 74 } |
75 | 75 |
76 | 76 |
77 public FloodMap getFloodMap() { | 77 public FloodMap getFloodMap() { |
78 return floodMap; | 78 return floodMap; |