fix for #800 - the mergeNewParams function is now simplified. the only time it need be overridden now is in WMS, which mandates that all parameters should be uppercased. thanks for the review and the added test, tim.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3584 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -395,23 +395,6 @@ OpenLayers.Layer.Grid.prototype =
|
||||
addTile:function(bounds, position) {
|
||||
// Should be implemented by subclasses
|
||||
},
|
||||
|
||||
/**
|
||||
* APIMethod: mergeNewParams
|
||||
* Once params have been changed, we will need to re-init our tiles
|
||||
*
|
||||
* Parameters:
|
||||
* newParams - {Object} Hashtable of new params to use
|
||||
*/
|
||||
mergeNewParams:function(newArguments) {
|
||||
OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams.apply(this,
|
||||
[newArguments]);
|
||||
|
||||
if (this.map != null) {
|
||||
this._initTiles();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Method: shiftRow
|
||||
|
||||
Reference in New Issue
Block a user