#605 "OpenLayers.Feature.Vector: destroy() is defined twice" by fredj, patch

by euzuro. thx euz, fredj.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2968 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-04-02 10:52:10 +00:00
parent bc7f415d29
commit 833abcf6f1

View File

@@ -54,7 +54,14 @@ OpenLayers.Feature.Vector.prototype =
this.style = style ? style : null;
},
/**
*
*/
destroy: function() {
this.geometry = null;
OpenLayers.Feature.prototype.destroy.apply(this, arguments);
},
/**
* @returns An exact clone of this OpenLayers.Feature
* @type OpenLayers.Feature
@@ -70,14 +77,6 @@ OpenLayers.Feature.Vector.prototype =
return obj;
},
/**
*
*/
destroy: function() {
this.geometry = null;
OpenLayers.Feature.prototype.destroy.apply(this, arguments);
},
/**
* HACK - we need to rewrite this for non-point geometry
* @returns null - we need to rewrite this for non-point geometry
@@ -237,10 +236,6 @@ OpenLayers.Feature.Vector.prototype =
}
},
destroy: function() {
},
CLASS_NAME: "OpenLayers.Feature.Vector"
});