Mercurial > gemma
changeset 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 | c3b5cf2f200a |
children | 3d6a2c6b436c |
files | client/src/components/layers/LegendElement.vue |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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`; }