Skip to content

Commit

Permalink
Allow specifying arbitrary params on WMS source layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van den Eijnden committed May 19, 2015
1 parent 32c5cd3 commit 447edb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/plugins/WMSSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,12 @@ gxp.plugins.WMSSource = Ext.extend(gxp.plugins.LayerSource, {
}

// update params from config
layer.mergeNewParams({
layer.mergeNewParams(Ext.applyIf({
STYLES: config.styles,
FORMAT: config.format,
TRANSPARENT: config.transparent,
CQL_FILTER: config.cql_filter
});
}, config.params));

var singleTile = false;
if ("tiled" in config) {
Expand Down

0 comments on commit 447edb7

Please sign in to comment.