[fusion-commits] r2361 - branches/fusion-2.2/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Apr 8 14:39:19 EDT 2011


Author: madair
Date: 2011-04-08 11:39:19 -0700 (Fri, 08 Apr 2011)
New Revision: 2361

Modified:
   branches/fusion-2.2/lib/Map.js
Log:
also check if the <Map> is visible or not before firing tooltips

Modified: branches/fusion-2.2/lib/Map.js
===================================================================
--- branches/fusion-2.2/lib/Map.js	2011-04-07 18:41:10 UTC (rev 2360)
+++ branches/fusion-2.2/lib/Map.js	2011-04-08 18:39:19 UTC (rev 2361)
@@ -1424,7 +1424,7 @@
         {
             var mp = this.aMaps[i];
             //Guard against queries on a non-visible map. Problematic in MapGuide
-            if (scale >= mp.minScale && scale <= mp.maxScale)
+            if (scale >= mp.minScale && scale <= mp.maxScale && mp.layerRoot.visible )
             {
                 mp.getMapTip(oMapTips);
             }



More information about the fusion-commits mailing list