From 1fb626bc8d555a4a62ba8df43d1377bdb15a39ed Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 21 Jun 2011 16:50:50 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/BaseTypes/Bounds.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/OpenLayers/BaseTypes/Bounds.js b/lib/OpenLayers/BaseTypes/Bounds.js index 0a739f1cc3..2924de31dc 100644 --- a/lib/OpenLayers/BaseTypes/Bounds.js +++ b/lib/OpenLayers/BaseTypes/Bounds.js @@ -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({ * {} A new bounds that is scaled by ratio * from origin. */ - scale: function(ratio, origin){ if(origin == null){ origin = this.getCenterLonLat();