Hi. No afterfeaturemodified event should be triggered when your register a listener. Could you share your code? Cheers, Eric
2008/11/13, Didrik Pinte <[EMAIL PROTECTED]>: > Hi, > > I'm trying to have a layer on wich a user can add a new feature and/or > modify the existing feature. When the feature is added or modified, it > is posted to the server in a geojson stream. > > I've registered the afterfeaturemodified to catch when the feature is > modified but it is called two times : > - one time because I registered it > - a second time because to finish the modification I have to "unselect" > the feature that calls afterfeaturemodified too ... > > How can I cleanly solve the problem ? Registering "featureunselected" > make my callback being called also when "featureadded" events. > > Thanks > > Didrik > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
