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

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Jan 27 13:06:13 EST 2009


Author: chrisclaydon
Date: 2009-01-27 13:06:13 -0500 (Tue, 27 Jan 2009)
New Revision: 1749

Modified:
   trunk/layers/MapGuide/MapGuide.js
Log:
re #199 - Add back API method required by SelectWithin widget

Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js	2009-01-26 16:24:06 UTC (rev 1748)
+++ trunk/layers/MapGuide/MapGuide.js	2009-01-27 18:06:13 UTC (rev 1749)
@@ -842,6 +842,13 @@
       }
     },
 
+    /**
+       Call back function when select functions are called (eg queryRect)
+    */
+    processQueryResults: function(zoomTo, r) {
+        this.renderSelection(zoomTo, r);
+        this.processSelectedFeatureProperties(r);
+    },
 
     /**
        Call back function when select functions are called (eg queryRect)
@@ -1055,7 +1062,7 @@
     getLinkParams: function() {
       var queryParams = {};
       queryParams.theme = this.sMapResourceId;
-      
+
       //determine which layers have been toggled
       var showLayers = [];
       var hideLayers = [];
@@ -1070,7 +1077,7 @@
       }
       queryParams.showlayers = showLayers.join(',');
       queryParams.hidelayers = hideLayers.join(',');
-      
+
       //determine which groups have been toggled
       var showGroups = [];
       var hideGroups = [];
@@ -1085,10 +1092,10 @@
       }
       queryParams.showgroups = showGroups.join(',');
       queryParams.hidegroups = hideGroups.join(',');
-      
+
       return queryParams;
     },
-    
+
     getLegendImageURL: function(fScale, layer, style) {
       var url = Fusion.getConfigurationItem('mapguide', 'mapAgentUrl');
       url += "?OPERATION=GETLEGENDIMAGE&SESSION=" + layer.oMap.getSessionID();



More information about the fusion-commits mailing list