code: function(bounds) {
          bounds = bounds.clone();
          if (this.layer.map.baseLayer.wrapDateLine) {
              var worldExtent = this.layer.map.getMaxExtent(),
                  tolerance = this.layer.map.getResolution();
              bounds = bounds.wrapDateLine(worldExtent, {
                  leftTolerance: tolerance,
                  rightTolerance: tolerance
              });
          }
          this.bounds = bounds;
      }
docs: Method: setBounds
  Sets the bounds on this instance
  
  Parameters:
  bounds {<OpenLayers.Bounds>}