Ticket #1536: patch-1536-r7059-A0.diff
| File patch-1536-r7059-A0.diff, 0.7 kB (added by elemoine, 7 months ago) |
|---|
-
lib/OpenLayers/Layer/Vector.js
old new 191 191 * Destroy this layer 192 192 */ 193 193 destroy: function() { 194 OpenLayers.Layer.prototype.destroy.apply(this, arguments);195 196 194 this.destroyFeatures(); 197 195 this.features = null; 198 196 this.selectedFeatures = null; … … 202 200 this.renderer = null; 203 201 this.geometryType = null; 204 202 this.drawn = null; 203 OpenLayers.Layer.prototype.destroy.apply(this, arguments); 205 204 }, 206 205 207 206 /**
