From dc6466c621cbe3f4c23bd25419ec506e7e8797ee Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 18 Oct 2007 16:27:09 +0000 Subject: [PATCH] as long as we're cleaning up this little function. let's make it look pretty. Another non-functional change. git-svn-id: http://svn.openlayers.org/trunk/openlayers@5011 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WMS.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Layer/WMS.js b/lib/OpenLayers/Layer/WMS.js index 325e6c2404..dda8beadc0 100644 --- a/lib/OpenLayers/Layer/WMS.js +++ b/lib/OpenLayers/Layer/WMS.js @@ -155,9 +155,9 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, { var imageSize = this.getImageSize(); var newParams = { - BBOX: this.encodeBBOX ? bounds.toBBOX() : bounds.toArray(), - WIDTH:imageSize.w, - HEIGHT:imageSize.h + 'BBOX': this.encodeBBOX ? bounds.toBBOX() : bounds.toArray(), + 'WIDTH': imageSize.w, + 'HEIGHT': imageSize.h }; var requestString = this.getFullRequestString(newParams); return requestString;