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

Imran Rajjad rajjad at gmail.com
Wed Jun 9 09:11:11 EDT 2010


Hi,

well I have to draw the line through a function and not directly from
the user. Is it possible to add single line segment and then removing
it? I will take a look at the link. Thanks
regards,
Imran

On Wed, Jun 9, 2010 at 6:08 PM, Alexandre Dube <adube at mapgears.com> wrote:
> 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
>
>



-- 
I.R



More information about the Users mailing list