Changeset 2971
- Timestamp:
- 04/02/07 07:19:32 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Feature/Vector.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Feature/Vector.js
r2968 r2971 59 59 */ 60 60 destroy: function() { 61 if (this.layer) { 62 this.layer.removeFeatures(this); 63 this.layer = null; 64 } 65 61 66 this.geometry = null; 62 67 OpenLayers.Feature.prototype.destroy.apply(this, arguments);
