Mercurial > gemma
diff client/src/components/layers/LegendElement.vue @ 4315:ee4c47c3e7b2
legend: request distancemarks axis image at a specific scale to get correct styling
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 03 Sep 2019 17:47:57 +0200 |
parents | e4ff09ebc2c3 |
children | 827157bbc2a8 |
line wrap: on
line diff
--- a/client/src/components/layers/LegendElement.vue Tue Sep 03 17:12:07 2019 +0200 +++ b/client/src/components/layers/LegendElement.vue Tue Sep 03 17:47:57 2019 +0200 @@ -113,7 +113,7 @@ `&legend_options=columns:4;fontAntiAliasing:true`; } else { this.url = - `/internal/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=` + + `/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`; }