oops. we forgot to add the projection to the parameters. not good.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1409 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-09-06 05:24:07 +00:00
parent e8bd5086df
commit dd3dcef4ed

View File

@@ -181,6 +181,24 @@ OpenLayers.Layer.WMS.Untiled.prototype =
this.moveTo();
},
/** combine the layer's url with its params and these newParams.
*
* Add the SRS parameter from 'projection' -- this is probably
* more eloquently done via a setProjection() method, but this
* works for now and always.
*
* @param {Object} newParams
*
* @type String
*/
getFullRequestString:function(newParams) {
var projection = this.map.getProjection();
this.params.SRS = (projection == "none") ? null : projection;
return OpenLayers.Layer.Grid.prototype.getFullRequestString.apply(
this, arguments);
},
/** This function first removes the previous image div, then adds a new
* one according to the transparency property.
*