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

Eric Lemoine eric.c2c at gmail.com
Sat May 17 16:14:11 EDT 2008


On Sat, May 17, 2008 at 8:29 PM, Andreas Hocevar
<andreas.hocevar at gmail.com> wrote:
> [...]
> I was thinking that a feature gets deleted when we remove its last
> vertex. But then, this would also mean if there are only 3 vertices of
> a polygon left and we delete one we end up having a line, and if we
> delete another vertex we get a point. Not a good idea to do it like
> that. So you convinced me that the current behaviour is desirable, and
> that only the API doc is incorrect.

API doc comments changed in r7213 (<http://trac.openlayers.org/changeset/7213>).

Thanks,

--
Eric



More information about the Users mailing list