I've updated the sketch handlers in a couple sandboxes. I'm collecting changes here in hopes of getting them in to the trunk.
These changes include the following:
- Sketch handlers get a multi property. If multi is true, the handlers return a multi-part geometry. This is not multi-part geometry editing, but it allows multi-part geometries to be created by the sketch handlers.
- Sketch handlers get a persist property. If you want to use the sketch handlers for temporary drawing, and you want that sketch to stay drawn until the handler is deactivated or another sketch is drawn, set persist to true.
- Point callback gets full geometry in addition to last added point. This allows a control that is using the handler to do something with the entire sketch each time a new point is added.