code: function(layer, handler, options) {
          OpenLayers.Control.prototype.initialize.apply(this, [options]);
          this.callbacks = OpenLayers.Util.extend(
              {
                  done: this.drawFeature,
                  modify: function(vertex, feature) {
                      this.layer.events.triggerEvent(
                          "sketchmodified", {vertex: vertex, feature: feature}
                      );
                  },
                  create: function(vertex, feature) {
                      this.layer.events.triggerEvent(
                          "sketchstarted", {vertex: vertex, feature: feature}
                      );
                  }
              },
              this.callbacks
          );
          this.layer = layer;
          this.handlerOptions = this.handlerOptions || {};
          this.handlerOptions.layerOptions = OpenLayers.Util.applyDefaults(
              this.handlerOptions.layerOptions, {
                  renderers: layer.renderers, rendererOptions: layer.rendererOptions
              }
          );
          if (!("multi" in this.handlerOptions)) {
              this.handlerOptions.multi = this.multi;
          }
          var sketchStyle = this.layer.styleMap && this.layer.styleMap.styles.temporary;
          if(sketchStyle) {
              this.handlerOptions.layerOptions = OpenLayers.Util.applyDefaults(
                  this.handlerOptions.layerOptions,
                  {styleMap: new OpenLayers.StyleMap({"default": sketchStyle})}
              );
          }
          this.handler = new handler(this, this.callbacks, this.handlerOptions);
      }
docs: APIProperty: handlerOptions
  {Object} Used to set non-default properties on the control's handler
   
  Constructor: OpenLayers.Control.DrawFeature
  
  Parameters:
  layer - {<OpenLayers.Layer.Vector>}
  handler - {<OpenLayers.Handler>}
  options - {Object}