[fusion-commits] r2476 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Dec 2 00:17:12 EST 2011
Author: liuar
Date: 2011-12-01 21:17:12 -0800 (Thu, 01 Dec 2011)
New Revision: 2476
Modified:
trunk/lib/Map.js
Log:
resubmit the [2456] which reverted by [2466] by mistake.
Modified: trunk/lib/Map.js
===================================================================
--- trunk/lib/Map.js 2011-12-02 05:12:48 UTC (rev 2475)
+++ trunk/lib/Map.js 2011-12-02 05:17:12 UTC (rev 2476)
@@ -283,7 +283,7 @@
this.mapGroup = mapGroup;
var startIndex = loadOverlays?1:0;
- for (var i=startIndex; i<this.aMaps.length; i++) {
+ for (var i = this.aMaps.length-1; i >= startIndex; i--) {
if (this.aMaps[i].oLayerOL) {
this.aMaps[i].oLayerOL.destroy();
this.aMaps.splice(i,1);
More information about the fusion-commits
mailing list