Skip to content

Commit

Permalink
Parsing wms legend requests properly
Browse files Browse the repository at this point in the history
  • Loading branch information
SwampGuzzler committed Feb 24, 2020
1 parent 3378316 commit 898e59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils/wmsUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const getWMSLegendGraphic = (url, layerName, version) => {
url: url,
content: {
REQUEST: 'GetLegendGraphic',
LAYER: layerName,
LAYER: decodeURIComponent(layerName),
FORMAT: 'image/png',
VERSION: version
},
Expand Down

0 comments on commit 898e59e

Please sign in to comment.