# HG changeset patch # User Thomas Junk # Date 1567525677 -7200 # Node ID ee4c47c3e7b21292a267e6c5f3a98150e8b6d6c7 # Parent c3b5cf2f200a63b449fd9766017cc6cb12a5b129 legend: request distancemarks axis image at a specific scale to get correct styling diff -r c3b5cf2f200a -r ee4c47c3e7b2 client/src/components/layers/LegendElement.vue --- 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`; }