AnsweredAssumed Answered

Draw toolbar events

Question asked by snoakes on May 20, 2015
Latest reply on May 20, 2015 by kdoman

Hi,

 

I am using the Draw toolbar to allow the user to draw a polygon on the map.  I want to identify when the user has started a new polygon, but the toolbar only fires two events: draw-complete and draw-end - there doesn't seem to be a draw-start event.  However I know there must be something behind the scenes because the default tooltip is "Click to start drawing" before the polygon has been started, "Click to continue drawing" once the first point is set and "Double-click to complete" for all subsequent points.

 

Any ideas how I can grab hold of the event fired when the first point is clicked?

 

Thanks,

 

Sarah Noakes

Cornwall Council.

Outcomes