<div dir="ltr">Hi,<br><br>After upgrading to OL 2.6, delete feature function does not work correctly:<br>when a polygon or polyline is removed, the lines that define the disappear, but the vertexes not (the vertexes appear as the entity is selected). The code worked flawlessly in previous version. Is something that I have to be aware and/or modify?<br>
<br>declaration of control<br>deletefeature: new OpenLayers.Control.SelectFeature(vectors,{onSelect:deleteFeature})<br><br>delete function<br>function deleteFeature(geometry) <br>{<br>&nbsp; this.layer.removeFeatures(geometry);<br>
} <br><br>Any hint that may solve this issue is appreciated,<br>Adorian<br clear="all"><br>-- <br>Dr. Adorian Ardelean<br>coordinator of myNature Project<br><br>proiectul myNature<br>str. Rascoala din 1907 nr 12<br>Timisoara 300523<br>
Romania<br><br><a href="http://mybiosis.info/nature/portal.php?pagename=firstpage">http://mybiosis.info/nature/portal.php?pagename=firstpage</a> [a Romanian biodiversity-database]<br><a href="http://mybiosis.info/nature/portal.php?pagename=adorian">http://mybiosis.info/nature/portal.php?pagename=adorian</a> [CV]<br>

</div>