Mercurial > gemma
changeset 5477:a3d46cee9f69
merge
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 17 Aug 2021 16:52:15 +0200 |
parents | 453a33b0717d (diff) 791a372553a0 (current diff) |
children | 699048c86848 |
files | |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/layers/Layerselect.vue Mon Aug 16 15:55:57 2021 +0200 +++ b/client/src/components/layers/Layerselect.vue Tue Aug 17 16:52:15 2021 +0200 @@ -158,7 +158,7 @@ }, loadLegendImage(layer, storeTarget) { HTTP.get( - `/internal/wms?REQUEST=GetLegendGraphic&VERSION=1.3.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=${layer}&legend_options=columns:4;fontAntiAliasing:true&SCALE=4000`, + `/internal/wms?REQUEST=GetLegendGraphic&VERSION=1.3.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=${layer}&legend_options=columns:4%3BfontAntiAliasing:true&SCALE=4000`, { headers: { Accept: "image/png",
--- a/client/src/components/layers/LegendElement.vue Mon Aug 16 15:55:57 2021 +0200 +++ b/client/src/components/layers/LegendElement.vue Tue Aug 17 16:52:15 2021 +0200 @@ -122,12 +122,12 @@ this.url = `/internal/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=` + this.layer.getSource().getParams().LAYERS + - `&legend_options=columns:4;fontAntiAliasing:true`; + `&legend_options=columns:4%3BfontAntiAliasing:true`; } else { this.url = `/internal/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&SCALE=80000&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=` + this.layer.getSource().getParams().LAYERS + - `&legend_options=columns:1;fontAntiAliasing:true;forceLabels:off`; + `&legend_options=columns:1%3BfontAntiAliasing:true%3BforceLabels:off`; } this.loadImageSrc();