Xavier,
<br/><br/>Good point. That makes sense.
<br/><br/>Thanks,
<br/>Rich
<br/><br/><br/><br/>On Thu, Mar 8, 2012 at 12:37 PM, Xavier Mamano (jorix) [via OSGeo.org]
<br/>&lt;<a href="/user/SendEmail.jtp?type=node&node=4560395&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:
<div class='shrinkable-quote'><br/>&gt; Hi Rich,
<br/>&gt;
<br/>&gt; I did not read carefully enough the last part of your message. About
<br/>&gt; &quot;beforesketchstarted&quot; I think it's better to be called &quot;sketchcreated&quot;.
<br/>&gt; &quot;beforexxxx&quot; usually is associated with the option to cancel by return
<br/>&gt; false.
<br/>&gt;
<br/>&gt; From 2.11 sketch is usually created before starting, and is a problem not
<br/>&gt; knowing when it starts (first point). In this we agree.
<br/>&gt;
<br/>&gt; Best regards,
<br/>&gt;
<br/>&gt; Xavier
<br/>&gt;
<br/>&gt; rgreenwood wrote
<br/>&gt;
<br/>&gt; fell_runner wrote
<br/>&gt; Ok that does work.
<br/>&gt;
<br/>&gt; But it still seems [to me] a [very] non-intuitive way of catching the users
<br/>&gt; first drawing point on a line.
<br/>&gt;
<br/>&gt; Thanks for your help.
<br/>&gt;
<br/>&gt; I'm with fell_runner on this. I had been relying on the sketchstarted event
<br/>&gt; to catch the first drawn point of an object until the 2.11 change in
<br/>&gt; behavior. I can see the need to detect that the user is going to drawn an
<br/>&gt; object, but I think a new event such as beforesketchstarted might have been
<br/>&gt; a more graceful way of handling it.
<br/>&gt;
<br/>&gt; Best regards,
<br/>&gt; Rich
<br/>&gt;
<br/>&gt;
<br/>&gt;
<br/>&gt; ________________________________
<br/>&gt; If you reply to this email, your message will be added to the discussion
<br/>&gt; below:
<br/>&gt; <a href="http://osgeo-org.1560.n6.nabble.com/2-11-SketchStarted-tp4550864p4559721.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.n6.nabble.com/2-11-SketchStarted-tp4550864p4559721.html</a><br/>&gt; To unsubscribe from 2.11 SketchStarted, click here.
<br/>&gt; NAML
</div><br/><br/><br/>-- 
<br/>Richard Greenwood
<br/><a href="/user/SendEmail.jtp?type=node&node=4560395&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>www.greenwoodmap.com
<br/>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/2-11-SketchStarted-tp4550864p4560395.html">Re: 2.11 SketchStarted</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Dev-f3888596.html">OpenLayers Dev mailing list archive</a> at Nabble.com.<br/>