code: function(maxExtent) {    
  
          var newLonLat = this.clone();
      
          if (maxExtent) {
              //shift right?
              while (newLonLat.lon < maxExtent.left) {
                  newLonLat.lon +=  maxExtent.getWidth();
              }    
             
              //shift left?
              while (newLonLat.lon > maxExtent.right) {
                  newLonLat.lon -= maxExtent.getWidth();
              }    
          }
                  
          return newLonLat;
      }
docs: APIMethod: wrapDateLine
  
  Parameters:
  maxExtent - {<OpenLayers.Bounds>}
  
  Returns:
  {<OpenLayers.LonLat>} A copy of this lonlat, but wrapped around the
  "dateline" (as specified by the borders of
  maxExtent)