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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user