code: function() {
          var shouldDraw = OpenLayers.Tile.prototype.draw.apply(this, arguments);
          if (shouldDraw) {
              // The layer's reproject option is deprecated.
              if (this.layer != this.layer.map.baseLayer && this.layer.reproject) {
                  // getBoundsFromBaseLayer is defined in deprecated.js.
                  this.bounds = this.getBoundsFromBaseLayer(this.position);
              }
              if (this.isLoading) {
                  //if we're already loading, send 'reload' instead of 'loadstart'.
                  this._loadEvent = "reload";
              } else {
                  this.isLoading = true;
                  this._loadEvent = "loadstart";
              }
              this.renderTile();
              this.positionTile();
          } else if (shouldDraw === false) {
              this.unload();
          }
          return shouldDraw;
      }
docs: Method: draw
  Check that a tile should be drawn, and draw it.
  
  Returns:
  {Boolean} Was a tile drawn? Or null if a beforedraw listener returned
  false.