code: function() {
          // disable right mouse context menu for support of right click events
          if (this.handleRightClicks) {
              this.map.viewPortDiv.oncontextmenu = OpenLayers.Function.False;
          }
  
          var clickCallbacks = { 
              'click': this.defaultClick,
              'dblclick': this.defaultDblClick, 
              'dblrightclick': this.defaultDblRightClick 
          };
          var clickOptions = {
              'double': true, 
              'stopDouble': true
          };
          this.handlers.click = new OpenLayers.Handler.Click(
              this, clickCallbacks, clickOptions
          );
          this.dragPan = new OpenLayers.Control.DragPan(
              OpenLayers.Util.extend({
                  map: this.map,
                  documentDrag: this.documentDrag
              }, this.dragPanOptions)
          );
          this.zoomBox = new OpenLayers.Control.ZoomBox(
                      {map: this.map, keyMask: this.zoomBoxKeyMask});
          this.dragPan.draw();
          this.zoomBox.draw();
          var wheelOptions = this.map.fractionalZoom ? {} : {
              cumulative: false,
              interval: 50,
              maxDelta: 6
          };
          this.handlers.wheel = new OpenLayers.Handler.MouseWheel(
              this, {up : this.wheelUp, down: this.wheelDown},
              OpenLayers.Util.extend(wheelOptions, this.mouseWheelOptions)
          );
          if (OpenLayers.Control.PinchZoom) {
              this.pinchZoom = new OpenLayers.Control.PinchZoom(
                  OpenLayers.Util.extend(
                      {map: this.map}, this.pinchZoomOptions));
          }
      }
docs: Method: draw