[OpenLayers-Users] editingtoolbar - adding a new control...

John Cole john.cole at uai.com
Thu May 31 16:44:31 EDT 2007


Ok, I've been tracing the objects and I'm a little confused :-)

I'd like to take the editingtoolbar control, add another tool like the path
tool, and capture the event so I can calculate the length of the geometry
(eg a measure tool).

What I'm having a problem with is how to hook up a function to capture the
'done' event raised by the DrawFeature class.

Looking through all of the examples, the WFS scribble and WFS-T example are
using the wfs layer itself to submit the new features.  So they don't
provide a hook example.

Could someone provide a hint as to capturing the done event from the
DrawFeature class?

Thanks,

John

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 5/30/2007
3:03 PM
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the Users mailing list