code: function() {
          var lonLatBounds = this.getMapBoundsFromRectBounds(this.rectPxBounds);
          if (this.ovmap.getProjection() != this.map.getProjection()) {
              lonLatBounds = lonLatBounds.transform(
                  this.ovmap.getProjectionObject(),
                  this.map.getProjectionObject() );
          }
          this.map.panTo(lonLatBounds.getCenterLonLat());
      }
docs: Method: updateMapToRect
  Updates the map extent to match the extent rectangle position and size