[OpenLayers-Users] Is it possible to delete a point using the ModifyFeature control?

Pierre GIRAUD bluecarto at gmail.com
Wed May 14 03:59:33 EDT 2008


I think Eric is wrong on that point.
By hovering a vertex, you can delete it pressing the Del button.
Tricky, isn't it ?

Pierre

On Wed, May 14, 2008 at 9:02 AM, Eric Lemoine <eric.c2c at gmail.com> wrote:
> Hi Andreas. The modify feature control does not support that. You'll
>  have to code this by yourself, possibly using the select feature
>  control. Cheers, Eric
>
>  2008/5/14, Andreas Hocevar <andreas.hocevar at gmail.com>:
>
>
> > A question to all vector editing gurus:
>  >
>  > Is it possible to make the ModifyFeature control delete a point by
>  > clicking the Del button? I know that the Del button will delete vertices
>  > on geometries, but what about points (only one vertex)?
>  >
>  > Is there a simple workaround to delete the whole feature instead of a
>  > vertex?
>  >
>  > Thanks!
>  > Andreas.
>  > _______________________________________________
>  > Users mailing list
>  > Users at openlayers.org
>  > http://openlayers.org/mailman/listinfo/users
>  >
>  _______________________________________________
>  Users mailing list
>  Users at openlayers.org
>  http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list