[Commits] r2639 - sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets
commits at geoext.org
commits at geoext.org
Mon Mar 28 17:32:55 CEST 2011
Author: pgiraud
Date: 2011-03-28 17:32:55 +0200 (Mon, 28 Mar 2011)
New Revision: 2639
Modified:
sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js
Log:
Fixing scope issue when loading a KML
Modified: sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js
===================================================================
--- sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js 2011-03-28 14:16:32 UTC (rev 2638)
+++ sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js 2011-03-28 15:32:55 UTC (rev 2639)
@@ -311,7 +311,7 @@
if (this.kmlUrl) {
google.earth.fetchKml(this.ge, this.kmlUrl, function(obj) {
this.ge.getFeatures().appendChild(obj);
- });
+ }.createDelegate(this));
}
// Use network link
More information about the Commits
mailing list