The bounds.scale method should be part of the API.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12119 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2011-06-21 16:50:50 +00:00
parent f0cfcd12d4
commit 1fb626bc8d

View File

@@ -247,7 +247,7 @@ OpenLayers.Bounds = OpenLayers.Class({
},
/**
* 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 = OpenLayers.Class({
* {<OpenLayers.Bounds>} A new bounds that is scaled by ratio
* from origin.
*/
scale: function(ratio, origin){
if(origin == null){
origin = this.getCenterLonLat();