OpenLayers OpenLayers

Changeset 5744

Show
Ignore:
Timestamp:
01/15/08 00:56:42 (1 year ago)
Author:
crschmidt
Message:

Remove transform method as part of merge.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/crschmidt/osm/lib/OpenLayers/BaseTypes/Bounds.js

    r5743 r5744  
    285285 
    286286    /** 
    287      * APIMethod: transform 
    288      * Reproject a bounds from a projection to another. 
    289      *  
    290      * Parameters: 
    291      * from - {<OpenLayers.Projection>}  
    292      * to   - {<OpenLayers.Projection>}  
    293      */ 
    294     transform: function(from, to) { 
    295         var bl = OpenLayers.Projection.transform({'x':this.left, 'y': this.bottom}, from, to); 
    296         var tr = OpenLayers.Projection.transform({'x':this.right, 'y': this.top}, from, to); 
    297         this.left = bl.x; 
    298         this.bottom = bl.y; 
    299         this.right = tr.x; 
    300         this.top = tr.y; 
    301     }, 
    302  
    303     /** 
    304287     * APIMethod: containsLonLat 
    305288     *