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:
@@ -181,6 +181,24 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
|||||||
this.moveTo();
|
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
|
/** This function first removes the previous image div, then adds a new
|
||||||
* one according to the transparency property.
|
* one according to the transparency property.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user