when merging new params to untitled layer, we need to uppercase them for case-insensitivity like in the regular wms.
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1290 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -177,8 +177,11 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
|||||||
* @param {Object} newParams
|
* @param {Object} newParams
|
||||||
*/
|
*/
|
||||||
mergeNewParams:function(newParams) {
|
mergeNewParams:function(newParams) {
|
||||||
|
var upperParams = OpenLayers.Util.upperCaseObject(newParams);
|
||||||
|
var newArguments = [upperParams];
|
||||||
OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams.apply(this,
|
OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams.apply(this,
|
||||||
arguments);
|
newArguments);
|
||||||
|
//redraw
|
||||||
this.moveTo();
|
this.moveTo();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user