[fusion-commits] r1651 - trunk/MapGuide

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Nov 7 15:24:49 EST 2008


Author: pagameba
Date: 2008-11-07 15:24:49 -0500 (Fri, 07 Nov 2008)
New Revision: 1651

Modified:
   trunk/MapGuide/MapGuide.js
Log:
Re #149, merge r1636 back in to trunk, somehow this change got reverted by me.

Modified: trunk/MapGuide/MapGuide.js
===================================================================
--- trunk/MapGuide/MapGuide.js	2008-11-07 20:10:30 UTC (rev 1650)
+++ trunk/MapGuide/MapGuide.js	2008-11-07 20:24:49 UTC (rev 1651)
@@ -530,10 +530,14 @@
         this.aHideGroups = [];
         this.aRefreshLayers = [];
 
+        this.oLayerOL.mergeNewParams(params);
+    },
+    
+    drawSelection: function() {
         if (this.queryLayer) {
-          this.queryLayer.redraw(true);
+            this.queryLayer.redraw(true);
         } else {
-          this.oLayerOL.mergeNewParams(params);
+            this.drawMap();
         }
     },
 
@@ -556,7 +560,7 @@
         useOverlay: this.selectionAsOverlay,
         ratio: this.ratio
       };
-      if (!/WebKit/.test(navigator.userAgent)) {
+      if (behaviour != 1 && !/WebKit/.test(navigator.userAgent)) {
         layerOptions.transitionEffect = 'resize';
       }
 
@@ -680,7 +684,7 @@
             this.oSelection = null;
         }
         this.bSelectionOn = true;
-        this.drawMap();
+        this.drawSelection();
         this.triggerEvent(Fusion.Event.MAP_SELECTION_ON);
     },
 
@@ -810,7 +814,7 @@
           this.queryLayer.setVisibility(false);
         }
         this.triggerEvent(Fusion.Event.MAP_SELECTION_OFF);
-        this.drawMap();
+        this.drawSelection();
         this.oSelection = null;
     },
 



More information about the fusion-commits mailing list