[OpenLayers-Users] Is it possible to change modifyFeature control ?

Pedro Baracho pedropbaracho at gmail.com
Mon Nov 16 08:36:51 EST 2009


IMHO, it is possible but not trivial.
You could do some hacking using handlers property and beforefeaturemodified
or featuremodified events.

Although, I would suggest you to extend OpenLayers.Control.ModifyFeature and
implement your own logic over the DragStart function.

On Fri, Nov 13, 2009 at 9:00 AM, Altair <bavrik at mail.ru> wrote:

>
> Dear list!
> Is it possible to change modifyFeature control ?
> For example, I want to remove the point of the polygon do not click
> Del-button, but mouse double-click on the point. Or add a new point of the
> polygon by double clicking on the map.
> Thanks for advice.
> --
> View this message in context:
> http://n2.nabble.com/Is-it-possible-to-change-modifyFeature-control-tp3998546p3998546.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091116/d4ad5de3/attachment.html


More information about the Users mailing list