code: function() {
          if (!this.active || this.watch) {
              return false;
          }
          this.geolocation.getCurrentPosition(
              OpenLayers.Function.bind(this.geolocate, this),
              OpenLayers.Function.bind(this.failure, this),
              this.geolocationOptions
          );
          return true;
      }
docs: APIMethod: getCurrentLocation
  
  Returns:
  {Boolean} Returns true if a event will be fired (successfull
  registration)