[fusion-commits] r2719 - trunk/layers/MapGuide

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue May 28 01:19:13 PDT 2013


Author: jng
Date: 2013-05-28 01:19:13 -0700 (Tue, 28 May 2013)
New Revision: 2719

Modified:
   trunk/layers/MapGuide/MapGuide.js
Log:
Remove conditional setting of transitionEffect = 'resize'. Let OpenLayers figure out whether such a thing can be supported. This removes the flicker effect that we have since moving to OL 2.12

Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js	2013-05-28 04:24:15 UTC (rev 2718)
+++ trunk/layers/MapGuide/MapGuide.js	2013-05-28 08:19:13 UTC (rev 2719)
@@ -666,11 +666,9 @@
         maxResolution: 'auto',
         useOverlay: this.selectionAsOverlay,
         useAsyncOverlay: this.useAsyncOverlay,
-        ratio: this.ratio
+        ratio: this.ratio,
+        transitionEffect: 'resize'
       };
-      if ((behavior & 1) == 0 && !/WebKit/.test(navigator.userAgent)) {
-        layerOptions.transitionEffect = 'resize';
-      }
 
       //add in scales array if supplied
       if (this.scales && this.scales.length>0) {



More information about the fusion-commits mailing list