add destroy method which calls destroy() on both superclasses.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@574 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-06-12 15:06:12 +00:00
parent 66f5e034da
commit ba77d478b3

View File

@@ -46,6 +46,14 @@ OpenLayers.Layer.WFS.prototype =
} }
}, },
/**
*
*/
destroy: function() {
OpenLayers.Layer.Grid.prototype.destroy.apply(this, arguments);
OpenLayers.Layer.Markers.prototype.destroy.apply(this, arguments);
},
/** /**
* @param {OpenLayers.Bounds} bounds * @param {OpenLayers.Bounds} bounds
* @param {Boolean} zoomChanged * @param {Boolean} zoomChanged