code: function (controls) {
          var control;
          for (var i=0, len=controls.length; i<len; i++) {
              control = controls[i];
              if (control.autoActivate === true) {
                  control.autoActivate = false;
                  this.map.addControl(control);
                  control.autoActivate = true;
              } else {
                  this.map.addControl(control);
                  control.deactivate();
              }
              control.events.on({
                  activate: this.iconOn,
                  deactivate: this.iconOff
              });
          }  
      }
docs: Method: addControlsToMap
  Only for internal use in draw() and addControls() methods.
  
  Parameters:
  controls - {Array(<OpenLayers.Control>)} Controls to add into map.