IMHO, it is possible but not trivial.<br>You could do some hacking using handlers property and beforefeaturemodified or featuremodified events.<br><br>Although, I would suggest you to extend OpenLayers.Control.ModifyFeature and implement your own logic over the DragStart function.<br>
<br><div class="gmail_quote">On Fri, Nov 13, 2009 at 9:00 AM, Altair <span dir="ltr"><<a href="mailto:bavrik@mail.ru">bavrik@mail.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Dear list!<br>
Is it possible to change modifyFeature control ?<br>
For example, I want to remove the point of the polygon do not click<br>
Del-button, but mouse double-click on the point. Or add a new point of the<br>
polygon by double clicking on the map.<br>
Thanks for advice.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Is-it-possible-to-change-modifyFeature-control-tp3998546p3998546.html" target="_blank">http://n2.nabble.com/Is-it-possible-to-change-modifyFeature-control-tp3998546p3998546.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</font></blockquote></div><br>