Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java @ 4131:360e22afb98b
Cosmetics, warnings and minor TODOs.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Mon, 15 Oct 2012 00:04:35 +0200 |
parents | 145980c21700 |
children | 099d136b215b |
comparison
equal
deleted
inserted
replaced
4130:df8ac7ff6b1a | 4131:360e22afb98b |
---|---|
48 | 48 |
49 public class DigitizePanel | 49 public class DigitizePanel |
50 extends SelectProvider | 50 extends SelectProvider |
51 implements TabSelectedHandler, VisibilityChangedHandler { | 51 implements TabSelectedHandler, VisibilityChangedHandler { |
52 | 52 |
53 private static final long serialVersionUID = 3529775660871273314L; | |
54 | |
53 protected MapInfoServiceAsync mapInfo = GWT.create(MapInfoService.class); | 55 protected MapInfoServiceAsync mapInfo = GWT.create(MapInfoService.class); |
54 | 56 |
55 protected FloodMap floodMap; | 57 protected FloodMap floodMap; |
56 | 58 |
57 protected MapPanel mapPanel; | 59 protected MapPanel mapPanel; |
130 | 132 |
131 VLayout layout = new VLayout(); | 133 VLayout layout = new VLayout(); |
132 layout.setAlign(VerticalAlignment.TOP); | 134 layout.setAlign(VerticalAlignment.TOP); |
133 layout.setHeight(25); | 135 layout.setHeight(25); |
134 | 136 |
135 LinkedHashMap initial = new LinkedHashMap(); | 137 LinkedHashMap<String, String> initial = new LinkedHashMap<String, String>(); |
136 | 138 |
137 form = new DynamicForm(); | 139 form = new DynamicForm(); |
138 | 140 |
139 int size = data.size(); | 141 int size = data.size(); |
140 | 142 |
284 params.setLayers(layers); | 286 params.setLayers(layers); |
285 params.setFormat("image/png"); | 287 params.setFormat("image/png"); |
286 params.setIsTransparent(!x); | 288 params.setIsTransparent(!x); |
287 | 289 |
288 WMSOptions opts = new WMSOptions(); | 290 WMSOptions opts = new WMSOptions(); |
289 opts.setTransitionEffect("null"); | |
290 opts.setProjection(proj); | 291 opts.setProjection(proj); |
291 opts.setSingleTile(true); | 292 opts.setSingleTile(true); |
292 opts.setRatio(1); | 293 opts.setRatio(1); |
293 opts.setBuffer(0); | 294 opts.setBuffer(0); |
294 | 295 |