always give features random id's. this prevents duplicate issues on zooming

git-svn-id: http://svn.openlayers.org/trunk/openlayers@987 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-20 16:00:43 +00:00
parent e75ece7909
commit 16b0f1b3ef
2 changed files with 3 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ OpenLayers.Feature.WFS.prototype =
var newArguments = arguments;
if (arguments.length > 0) {
var data = this.processXMLNode(xmlNode);
newArguments = new Array(layer, data.lonlat, data, data.id)
newArguments = new Array(layer, data.lonlat, data)
}
OpenLayers.Feature.prototype.initialize.apply(this, newArguments);