Yep,
I can confirm that there's probably a bug. I had a style with 
'strokeWidth = 0', so I didn't see what happened. If I add some 
strokeWidth, I have same problem. And if you test, those points 
disappear after you have drawn a "real polygon".

- mika -

Sture Dingsøyr kirjoitti:
> Hi Mika and Eric...thanx for quick response :-)
>
> Have published an example on 
> http://www.avinet.no/bugopenlayers/openlayers-2.7/examples/modify-feature.html
>
> Have added a control button to draw the regular polygon. 
>
> ...if the user just clicks (no mouse movement between up and down) the 
> feature is added to the layer, but the featureadded event is not triggered 
> (should produce a javascript alert)..
>
> So the problem is that the featureadded event does not fire in this case.
>
> Have added events to both the layer and control...and it sems to me that in 
> none of the cases the event is triggered.
>
> Try the example...(just click in the map).
>
> Sture
>
>   
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to