[Mapbender-commits] r8884 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue May 20 07:47:32 PDT 2014


Author: hwbllmnn
Date: 2014-05-20 07:47:32 -0700 (Tue, 20 May 2014)
New Revision: 8884

Modified:
   trunk/mapbender/http/plugins/kmlTree.js
Log:
keep proper order of kml features when changing it with drag & drop


Modified: trunk/mapbender/http/plugins/kmlTree.js
===================================================================
--- trunk/mapbender/http/plugins/kmlTree.js	2014-05-20 14:36:06 UTC (rev 8883)
+++ trunk/mapbender/http/plugins/kmlTree.js	2014-05-20 14:47:32 UTC (rev 8884)
@@ -161,7 +161,7 @@
                     ids.push($(v).attr('idx'));
                     $(v).attr('idx', i++);
                 });
-                kml.reorderFeatures(url, ids);
+                kml.reorderFeatures(url, ids.reverse());
             }
         });
 



More information about the Mapbender_commits mailing list