[OpenLayers-Dev] Re: 2.11 SketchStarted

rgreenwood richard.greenwood at gmail.com
Thu Mar 8 18:27:02 EST 2012


Xavier,

Good point. That makes sense.

Thanks,
Rich



On Thu, Mar 8, 2012 at 12:37 PM, Xavier Mamano (jorix) [via OSGeo.org]
<ml-node+s1560n4559721h84 at n6.nabble.com> wrote:
> 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
>
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://osgeo-org.1560.n6.nabble.com/2-11-SketchStarted-tp4550864p4559721.html
> To unsubscribe from 2.11 SketchStarted, click here.
> NAML



-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/2-11-SketchStarted-tp4550864p4560395.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20120308/51d132a5/attachment.html


More information about the Dev mailing list