[fusion-commits] r2828 - sandbox/adsk/2.6l/layers/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Mar 12 01:38:04 PDT 2014
Author: liuar
Date: 2014-03-12 01:38:03 -0700 (Wed, 12 Mar 2014)
New Revision: 2828
Modified:
sandbox/adsk/2.6l/layers/MapGuide/MapGuide.js
Log:
Submit on behalf of Andy Zhang.
Set hasDynamicLayers = true if the map has dynamic layers.
Modified: sandbox/adsk/2.6l/layers/MapGuide/MapGuide.js
===================================================================
--- sandbox/adsk/2.6l/layers/MapGuide/MapGuide.js 2014-02-08 17:41:35 UTC (rev 2827)
+++ sandbox/adsk/2.6l/layers/MapGuide/MapGuide.js 2014-03-12 08:38:03 UTC (rev 2828)
@@ -373,7 +373,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