[OpenLayers-Users] attach event to Controls in EditingToolbar

John Cartwright john.c.cartwright at comcast.net
Tue Dec 9 00:22:44 EST 2008


Hello All,

I'm trying to understand how to attach an function to the event fired  
when one of the Controls in the EditingToolbar is activated.  My  
objective is to only allow the user to draw a single point,line, or  
poly on the given layer - selecting the editing tool to draw a second  
feature will clear the first.

Could someone please provide me a little guidance?

Thanks!

--john




More information about the Users mailing list