Hi Rich, I did not read carefully enough the last part of your message. About "beforesketchstarted" I think it's better to be called "sketchcreated". "beforexxxx" usually is associated with the option to cancel by return false.
>From 2.11 sketch is usually created before starting, and is a problem not knowing when it starts (first point). In this we agree. Best regards, Xavier rgreenwood wrote > > > fell_runner wrote >> >> Ok that does work. >> >> But it still seems [to me] a [very] non-intuitive way of catching the >> users first drawing point on a line. >> >> Thanks for your help. >> > > I'm with fell_runner on this. I had been relying on the sketchstarted > event to catch the first drawn point of an object until the 2.11 change in > behavior. I can see the need to detect that the user is going to drawn an > object, but I think a new event such as beforesketchstarted might have > been a more graceful way of handling it. > > Best regards, > Rich > -- View this message in context: http://osgeo-org.1560.n6.nabble.com/2-11-SketchStarted-tp4550864p4559721.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
