#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:
@@ -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"
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user