[OpenLayers-Users] add remove vertex in line feature??

Alexandre Dube adube at mapgears.com
Wed Jun 9 09:08:28 EDT 2010


Hi,

It's possible with the ModifyFeature control [1]. Use 'draw line', draw 
your line then press the 'del' key when hovering a vertex to remove it.

[1] http://www.openlayers.org/dev/examples/modify-feature.html

Regards,

Alexandre


Imran Rajjad wrote:
> Hi,
>
> I`m trying to draw a pattern path in open layers using
> OpenLayers.Feature.Vector, my application requires to dynamically add
> and remove vertices of a line. Is it possible in openlayers or do I
> need to redraw the whole thing at each change?
>
> regards,
> Imran
>
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list