[OpenLayers-Commits] r2321 - sandbox/vector-2.4/lib/OpenLayers

commits at openlayers.org commits at openlayers.org
Mon Mar 5 12:39:24 EST 2007


Author: crschmidt
Date: 2007-03-05 12:39:22 -0500 (Mon, 05 Mar 2007)
New Revision: 2321

Modified:
   sandbox/vector-2.4/lib/OpenLayers/Geometry.js
Log:
Change Geometry.js to use new BaseTypes api for extendBounds.


Modified: sandbox/vector-2.4/lib/OpenLayers/Geometry.js
===================================================================
--- sandbox/vector-2.4/lib/OpenLayers/Geometry.js	2007-03-05 17:33:56 UTC (rev 2320)
+++ sandbox/vector-2.4/lib/OpenLayers/Geometry.js	2007-03-05 17:39:22 UTC (rev 2321)
@@ -53,7 +53,7 @@
         if(!this.bounds){
             this.setBounds(bounds);
         }else{
-            this.bounds.extendBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
+            this.bounds.extendBounds(bounds);
         }
     },
     



More information about the Commits mailing list