Geometry.Collection does not call parent destructor, so bounds are not reset, r=fredj (closes #2688)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10405 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2010-06-16 14:25:15 +00:00
parent eb4d5a2447
commit cca1395fc6
2 changed files with 7 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ OpenLayers.Geometry.Collection = OpenLayers.Class(OpenLayers.Geometry, {
destroy: function () {
this.components.length = 0;
this.components = null;
OpenLayers.Geometry.prototype.destroy.apply(this, arguments);
},
/**