Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java @ 806:e50da1f74e58
The layers created in the floodmap reflect to the facets this output mode has.
flys-client/trunk@2374 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 13:31:20 +0000 |
parents | 95cc560ce7c4 |
children | 407de0f4b66a |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java Wed Jul 20 07:52:19 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java Wed Jul 20 13:31:20 2011 +0000 @@ -25,6 +25,8 @@ mapWidget = new MapWidget("510px", "635px", opts); map = mapWidget.getMap(); + + getBarrierLayer(); } @@ -46,6 +48,7 @@ public Vector getBarrierLayer() { if (barrierLayer == null) { barrierLayer = new Vector(LAYER_BARRIERS); + barrierLayer.setIsBaseLayer(true); map.addLayer(barrierLayer); }