Skip to content

Commit

Permalink
Merge pull request #437 from laughing0li/master
Browse files Browse the repository at this point in the history
AUS-4195 Some GA Isotopes and Geochronology layers have legends that …
  • Loading branch information
vjf authored Sep 1, 2024
2 parents 74bd07d + 8ad7013 commit cf4d54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/legend/legend-ui.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class LegendUiService {
private createLegendUrl(wmsUrl: string, layerName: string, sldBody?: string): string {
wmsUrl = this.trimUrl(wmsUrl);
let requestUrl = wmsUrl + '?SERVICE=WMS&REQUEST=GetLegendGraphic&VERSION=1.1.1&FORMAT=image/png&BGCOLOR=0xFFFFFF' +
'&WIDTH=40&HEIGHT=40' +
// '&WIDTH=40&HEIGHT=40' +
'&LAYER=' + layerName + '&LAYERS=' + layerName + '&SCALE=1000000' + '&forceLabels=on&minSymbolSize=16';
if (sldBody) {
requestUrl += '&SLD_BODY=' + encodeURI(sldBody);
Expand Down

0 comments on commit cf4d54a

Please sign in to comment.