Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.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 | 099d136b215b |
children | 32a4651eef93 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java Thu Nov 15 17:45:15 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java Fri Nov 16 12:36:10 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);