[mapguide-commits] r8444 - trunk/MgDev/Web/src/mapviewernet

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Nov 13 00:16:01 PST 2014


Author: christinebao
Date: 2014-11-13 00:16:01 -0800 (Thu, 13 Nov 2014)
New Revision: 8444

Modified:
   trunk/MgDev/Web/src/mapviewernet/selectwithin.aspx
Log:
Fix #2501 In basic web layout, Select Within will select all features in map when user restricts the results to an invisible layer

After the fix, the features will be selected in the layer in which the user restrict the selection, no matter visible and invisible.

Modified: trunk/MgDev/Web/src/mapviewernet/selectwithin.aspx
===================================================================
--- trunk/MgDev/Web/src/mapviewernet/selectwithin.aspx	2014-11-12 07:26:03 UTC (rev 8443)
+++ trunk/MgDev/Web/src/mapviewernet/selectwithin.aspx	2014-11-13 08:16:01 UTC (rev 8444)
@@ -72,7 +72,7 @@
             {
                 // Query all the features belonging the the layer list that intersects with the input geometries
                 //
-                MgFeatureInformation fi = renderingSrvc.QueryFeatures(map, layerNames, inputGeom, MgFeatureSpatialOperations.Intersects, -1);
+                MgFeatureInformation fi = renderingSrvc.QueryFeatures(map, layerNames, inputGeom, MgFeatureSpatialOperations.Intersects, "", -1, 2);
                 if(fi !=  null)
                 {
                     MgSelection resultSel = fi.GetSelection();



More information about the mapguide-commits mailing list