[OpenLayers-Commits] r12119 - trunk/openlayers/lib/OpenLayers/BaseTypes

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Jun 21 12:50:51 EDT 2011


Author: tschaub
Date: 2011-06-21 09:50:50 -0700 (Tue, 21 Jun 2011)
New Revision: 12119

Modified:
   trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js
Log:
The bounds.scale method should be part of the API.

Modified: trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js	2011-06-21 14:45:16 UTC (rev 12118)
+++ trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js	2011-06-21 16:50:50 UTC (rev 12119)
@@ -247,7 +247,7 @@
     },
 
     /**
-     * Method: scale
+     * APIMethod: scale
      * Scales the bounds around a pixel or lonlat. Note that the new 
      *     bounds may return non-integer properties, even if a pixel
      *     is passed. 
@@ -261,7 +261,6 @@
      * {<OpenLayers.Bounds>} A new bounds that is scaled by ratio
      *                      from origin.
      */
-
     scale: function(ratio, origin){
         if(origin == null){
             origin = this.getCenterLonLat();



More information about the Commits mailing list