On Tue, Nov 25, 2008 at 8:49 AM, Sture Dingsøyr <[EMAIL PROTECTED]> wrote: > 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).
I created a ticket and attached a patch to it. Could you give it a try? <http://trac.openlayers.org/ticket/1857> -- Eric _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
