fix for #210
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1381 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -33,12 +33,12 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
|||||||
* @param {String} url
|
* @param {String} url
|
||||||
* @param {Object} params
|
* @param {Object} params
|
||||||
*/
|
*/
|
||||||
initialize: function(name, url, params) {
|
initialize: function(name, url, params, options) {
|
||||||
var newArguments = new Array();
|
var newArguments = new Array();
|
||||||
if (arguments.length > 0) {
|
if (arguments.length > 0) {
|
||||||
//uppercase params
|
//uppercase params
|
||||||
params = OpenLayers.Util.upperCaseObject(params);
|
params = OpenLayers.Util.upperCaseObject(params);
|
||||||
newArguments.push(name, url, params);
|
newArguments.push(name, url, params, options);
|
||||||
}
|
}
|
||||||
OpenLayers.Layer.HTTPRequest.prototype.initialize.apply(this,
|
OpenLayers.Layer.HTTPRequest.prototype.initialize.apply(this,
|
||||||
newArguments);
|
newArguments);
|
||||||
|
|||||||
Reference in New Issue
Block a user