Mercurial > dive4elements > river
changeset 4554:d961bb99a5c2
Merged
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Fri, 16 Nov 2012 12:37:04 +0100 |
parents | ea40a5ded134 (current diff) fac54b8470d4 (diff) |
children | 0441f62535af |
files | |
diffstat | 4 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java Fri Nov 16 12:01:38 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java Fri Nov 16 12:37:04 2012 +0100 @@ -246,14 +246,14 @@ parameterList.registerCollectionViewTabHandler(this); WMS axis = getLayer( - mapInfo.getWmsUrl(), "riveraxis", + mapInfo.getWmsUrl(), "FLYS-Map", // FIXME: Make layer name configurable mapInfo.getProjection(), false); WMS back = getLayer( mapInfo.getBackgroundWmsUrl(), mapInfo.getBackgroundWmsLayers(), mapInfo.getProjection(), false); + map.addLayer(back); map.addLayer(axis); - map.addLayer(back); if (geojson != null && geojson.length() > 0) { VectorFeature[] features = new GeoJSON().read(geojson);
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java Fri Nov 16 12:01:38 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java Fri Nov 16 12:37:04 2012 +0100 @@ -160,7 +160,7 @@ barrierLayer.setIsBaseLayer(true); map.addLayer(barrierLayer); - map.raiseLayer(barrierLayer, -10); + map.setLayerZIndex(barrierLayer, 1000); barrierLayer.addVectorFeatureAddedListener(this); }
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java Fri Nov 16 12:01:38 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java Fri Nov 16 12:37:04 2012 +0100 @@ -69,8 +69,8 @@ width -= 2; // minus black borders height -= toolbar.getHeight() + 4; - this.floodMapWidget.setWidth(Integer.toString(width)); - this.floodMapWidget.setHeight(Integer.toString(height)); + floodMapWidget.setSize(Integer.toString(width), Integer.toString(height)); + floodMapWidget.getMap().updateSize(); }
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/MapInfo.java Fri Nov 16 12:01:38 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/MapInfo.java Fri Nov 16 12:37:04 2012 +0100 @@ -5,6 +5,8 @@ public class MapInfo implements Serializable { + private static final long serialVersionUID = 6691651140549280493L; + protected String river; protected int srid; protected BBox bbox;