[OpenLayers-Commits] r3615 - sandbox/euzuro/untiled3/lib/OpenLayers
commits at openlayers.org
commits at openlayers.org
Fri Jul 6 12:33:20 EDT 2007
Author: euzuro
Date: 2007-07-06 12:33:18 -0400 (Fri, 06 Jul 2007)
New Revision: 3615
Modified:
sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js
Log:
properly declare events property on tile, and properly destroy it
Modified: sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js
===================================================================
--- sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js 2007-07-06 15:08:19 UTC (rev 3614)
+++ sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js 2007-07-06 16:33:18 UTC (rev 3615)
@@ -26,6 +26,13 @@
*/
EVENT_TYPES: [ "loadstart", "loadend", "reload"],
+ /**
+ * APIProperty: events
+ * {<OpenLayers.Events>} An events object that handles all
+ * events on the tile.
+ */
+ events: null,
+
/**
* Property: id
* {String} null
@@ -113,6 +120,9 @@
this.bounds = null;
this.size = null;
this.position = null;
+
+ this.events.destroy();
+ this.events = null;
},
/**
More information about the Commits
mailing list