code: function () {
          if (this.active && this.watchId !== null) {
              this.geolocation.clearWatch(this.watchId);
          }
          return OpenLayers.Control.prototype.deactivate.apply(
              this, arguments
          );
      }
docs: Method: deactivate
  Deactivates the control.
  
  Returns:
  {Boolean} The control was effectively deactivated.