OpenLayers OpenLayers

Changeset 1323

Show
Ignore:
Timestamp:
08/21/06 19:04:40 (2 years ago)
Author:
euzuro
Message:

fix for #197

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/2.0/lib/OpenLayers/BaseTypes.js

    r1228 r1323  
    421421    */ 
    422422    add:function(x, y){ 
    423         return new OpenLayers.Box(this.left + x, this.bottom + y, 
    424                                   this.right + x, this.top + y); 
     423        return new OpenLayers.Bounds(this.left + x, this.bottom + y, 
     424                                     this.right + x, this.top + y); 
    425425    }, 
    426426