diff flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java @ 1302:17e7d5e437fb

Bumped OpenLayers to version 2.11 and GWT-OpenLayers to version 0.6 flys-client/trunk@2930 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 10 Oct 2011 15:29:39 +0000
parents 89a47098bcbd
children e2749cc3b7ad
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java	Mon Oct 10 12:18:51 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java	Mon Oct 10 15:29:39 2011 +0000
@@ -15,6 +15,7 @@
 import org.gwtopenmaps.openlayers.client.Map;
 import org.gwtopenmaps.openlayers.client.feature.VectorFeature;
 import org.gwtopenmaps.openlayers.client.format.GeoJSON;
+import org.gwtopenmaps.openlayers.client.layer.TransitionEffect;
 import org.gwtopenmaps.openlayers.client.layer.WMS;
 import org.gwtopenmaps.openlayers.client.layer.WMSParams;
 import org.gwtopenmaps.openlayers.client.layer.WMSOptions;
@@ -166,9 +167,11 @@
         params.setIsTransparent(!x);
 
         WMSOptions opts = new WMSOptions();
+        opts.setTransitionEffect("null");
         opts.setProjection(proj);
         opts.setSingleTile(true);
         opts.setRatio(1);
+        opts.setBuffer(0);
 
         WMS wms = new WMS(layers, url, params, opts);
         wms.setIsVisible(true);

http://dive4elements.wald.intevation.org