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:
@@ -154,12 +154,13 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
bounds = this.adjustBounds(bounds);
|
||||
|
||||
var imageSize = this.getImageSize();
|
||||
var s = this.getFullRequestString(
|
||||
{BBOX: this.encodeBBOX ? bounds.toBBOX() : bounds.toArray(),
|
||||
WIDTH:imageSize.w,
|
||||
HEIGHT:imageSize.h});
|
||||
//console.log(s);
|
||||
return s;
|
||||
var newParams = {
|
||||
BBOX: this.encodeBBOX ? bounds.toBBOX() : bounds.toArray(),
|
||||
WIDTH:imageSize.w,
|
||||
HEIGHT:imageSize.h
|
||||
};
|
||||
var requestString = this.getFullRequestString(newParams);
|
||||
return requestString;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user