remove added (but commented out) console.log() call from r5002. As long as we're going it, let's give our return string a better variable name and move the newParams into its own variable, too. no functional change here. all tests pass.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5010 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-10-18 16:25:43 +00:00
parent 032601d315
commit 8f0ded1092

View File

@@ -154,12 +154,13 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
bounds = this.adjustBounds(bounds); bounds = this.adjustBounds(bounds);
var imageSize = this.getImageSize(); var imageSize = this.getImageSize();
var s = this.getFullRequestString( var newParams = {
{BBOX: this.encodeBBOX ? bounds.toBBOX() : bounds.toArray(), BBOX: this.encodeBBOX ? bounds.toBBOX() : bounds.toArray(),
WIDTH:imageSize.w, WIDTH:imageSize.w,
HEIGHT:imageSize.h}); HEIGHT:imageSize.h
//console.log(s); };
return s; var requestString = this.getFullRequestString(newParams);
return requestString;
}, },
/** /**