Hi,<div><br></div><div>I am trying to figure out how to give features I create a custom ID. For example:</div><div><br></div><div>var feature_point = new OpenLayers.Feature.Vector(new OpenLayers.Geometry.Point(-81, 26));</div>
<div><br></div><div>map.layers[1].addFeatures([feature_point]);</div><div><br></div><div>When I do this, I end up with an id of "OpenLayers.Feature.Vector_92" or whatever random number it chooses. What I want to know is, how do I give the feature, its' own custom id during creation? It would also be nice to know if there is a way to change a features id later on, not during creation?<br clear="all">
<div><br></div>-- <br>Thanks,
</div><div><br></div><div>Renosis</div>