code: function(evt) {
  
          var lonLat;
  
          if (evt == null) {
              this.reset();
              return;
          } else {
              if (this.lastXy == null ||
                  Math.abs(evt.xy.x - this.lastXy.x) > this.granularity ||
                  Math.abs(evt.xy.y - this.lastXy.y) > this.granularity)
              {
                  this.lastXy = evt.xy;
                  return;
              }
  
              lonLat = this.map.getLonLatFromPixel(evt.xy);
              if (!lonLat) {
                  // map has not yet been properly initialized
                  return;
              }
              if (this.displayProjection) {
                  lonLat.transform(this.map.getProjectionObject(),
                                   this.displayProjection );
              }
              this.lastXy = evt.xy;
  
          }
  
          var newHtml = this.formatOutput(lonLat);
  
          if (newHtml != this.element.innerHTML) {
              this.element.innerHTML = newHtml;
          }
      }
docs: Method: redraw