Skip to content

Commit

Permalink
Add missing styles entry when generating external wms print layer params
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Feb 23, 2024
1 parent 4ec506e commit c4be3e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qwc2",
"version": "2024.02.22-master",
"version": "2024.02.23-master",
"description": "QGIS Web Client 2 core",
"author": "Sourcepole AG",
"license": "BSD-2-Clause",
Expand Down
2 changes: 1 addition & 1 deletion utils/LayerUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ const LayerUtils = {
if ((match = printBgLayerName.match(/^(\w+):(.*)#([^#]+)$/)) && match[1] === "wms") {
const layer = {
type: 'wms',
params: {LAYERS: match[3], OPACITIES: '255'},
params: {LAYERS: match[3], OPACITIES: '255', STYLES: ''},
url: match[2]
};
LayerUtils.addExternalLayerPrintParams(layer, params, printCrs, counterRef);
Expand Down

0 comments on commit c4be3e9

Please sign in to comment.