[mapguide-commits] r9139 - sandbox/adsk/3.2o.AIMS/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Mar 23 18:23:47 PDT 2017


Author: hubu
Date: 2017-03-23 18:23:47 -0700 (Thu, 23 Mar 2017)
New Revision: 9139

Modified:
   sandbox/adsk/3.2o.AIMS/Web/src/viewerfiles/ajaxmappane.templ
Log:
Currently, zoom selection doesn't work if the select panel is invisible. It is because the selection bounds is calculated only when selection panel is visible. Now remove this limit to make zoom selection work at all time.

Modified: sandbox/adsk/3.2o.AIMS/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- sandbox/adsk/3.2o.AIMS/Web/src/viewerfiles/ajaxmappane.templ	2017-03-22 05:09:47 UTC (rev 9138)
+++ sandbox/adsk/3.2o.AIMS/Web/src/viewerfiles/ajaxmappane.templ	2017-03-24 01:23:47 UTC (rev 9139)
@@ -3176,20 +3176,17 @@
     }
     if(which & 2)
     {
-        if (IsPropertyCtrlVisible())
+        if (selection.count > 0)
         {
-            if (selection.count > 0)
-            {
-                //Check if we have attributes inline
-                var props = xmlIn.getElementsByTagName("SelectedLayer");
-                var resp = ConvertToSelectedFeatureSet(props, xmlIn, append);
-                ProcessSelectedFeatureSet(resp, append);
-            }
-            else
-            {
-                ResetPropertyPane();
-            }
+            //Check if we have attributes inline
+            var props = xmlIn.getElementsByTagName("SelectedLayer");
+            var resp = ConvertToSelectedFeatureSet(props, xmlIn, append);
+            ProcessSelectedFeatureSet(resp, append);
         }
+        else
+        {
+            ResetPropertyPane();
+        }
     }
     if(which & 4)
     {



More information about the mapguide-commits mailing list