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

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Mar 12 18:05:42 PDT 2014


Author: liuar
Date: 2014-03-12 18:05:42 -0700 (Wed, 12 Mar 2014)
New Revision: 2829

Modified:
   trunk/layers/MapGuide/MapGuide.js
Log:
Submit on behalf of Andy Zhang.
Set hasDynamicLayers = true if the map has dynamic layers.

Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js	2014-03-12 08:38:03 UTC (rev 2828)
+++ trunk/layers/MapGuide/MapGuide.js	2014-03-13 01:05:42 UTC (rev 2829)
@@ -383,7 +383,8 @@
                     displayInLegend: (lyr.DisplayInLegend[0] == "true"),
                     expandInLegend: (lyr.ExpandInLegend[0] == "true")
                 };
-                
+                if (lyr.Type[0] != "2" && !lm.hasDynamicLayers)
+                    lm.hasDynamicLayers = true;
                 lm.layers.push(cl);
                 
                 var clsr = {



More information about the fusion-commits mailing list