changeset 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 2fa7ed1ac7cf
children 84c50f1d939b
files flys-client/ChangeLog flys-client/pom.xml flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java flys-client/src/main/webapp/FLYS.html
diffstat 4 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Oct 10 12:18:51 2011 +0000
+++ b/flys-client/ChangeLog	Mon Oct 10 15:29:39 2011 +0000
@@ -1,3 +1,9 @@
+2011-10-10  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/webapp/FLYS.html: Import OpenLayers 2.11.
+
+	* pom.xml: Upgrade of GWT-OpenLayers from 0.5 to 0.6
+
 2011-10-10  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java:
--- a/flys-client/pom.xml	Mon Oct 10 12:18:51 2011 +0000
+++ b/flys-client/pom.xml	Mon Oct 10 15:29:39 2011 +0000
@@ -72,7 +72,7 @@
     <dependency>
       <groupId>org.gwtopenmaps.openlayers</groupId>
       <artifactId>gwt-openlayers-client</artifactId>
-      <version>0.5</version>
+      <version>0.6</version>
     </dependency>
   </dependencies>
   
--- 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);
--- a/flys-client/src/main/webapp/FLYS.html	Mon Oct 10 12:18:51 2011 +0000
+++ b/flys-client/src/main/webapp/FLYS.html	Mon Oct 10 15:29:39 2011 +0000
@@ -29,7 +29,7 @@
     <script type="text/javascript" language="javascript" src="flys/flys.nocache.js"></script>
 
     <!-- TODO We should NOT include OpenLayers from remote. -->
-    <script src="http://openlayers.org/api/2.9/OpenLayers.js"></script>
+    <script src="http://openlayers.org/api/2.11/OpenLayers.js"></script>
   </head>
 
     <!--                                           -->

http://dive4elements.wald.intevation.org