[Mapbender-commits] r8897 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu May 22 01:00:48 PDT 2014
Author: hwbllmnn
Date: 2014-05-22 01:00:48 -0700 (Thu, 22 May 2014)
New Revision: 8897
Modified:
trunk/mapbender/http/javascripts/mod_loadwmc.js
Log:
trigger kml load events after loading wmc w/ kml
Modified: trunk/mapbender/http/javascripts/mod_loadwmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_loadwmc.js 2014-05-21 15:03:09 UTC (rev 8896)
+++ trunk/mapbender/http/javascripts/mod_loadwmc.js 2014-05-22 08:00:48 UTC (rev 8897)
@@ -493,6 +493,9 @@
kml._kmls = JSON.parse(restoredWmcExtensionData.KMLS);
kml.kmlOrder = JSON.parse(restoredWmcExtensionData.KMLORDER);
kml.render();
+ for(var k in kml._kmls) {
+ kml.element.trigger('kml:loaded', kml._kmls[k]);
+ }
} catch(e) {
// just ignore the exception for now
}
More information about the Mapbender_commits
mailing list