Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Legend image icon ratio is not respected for WMS layers in the Layers tab. #2550

Open
1 task done
MLAuger opened this issue Oct 15, 2024 · 1 comment · May be fixed by #2567
Open
1 task done

[BUG] Legend image icon ratio is not respected for WMS layers in the Layers tab. #2550

MLAuger opened this issue Oct 15, 2024 · 1 comment · May be fixed by #2567
Assignees

Comments

@MLAuger
Copy link

MLAuger commented Oct 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Legend icon image ratio is not respected for WMS layers in the Layers tab although it is in the Legend tab. For layers with only one item, the icon is compress looking weird.
image

Same items in the Legend tab:
image

UUID of BC Parks: 1130248f-f1a3-4956-8b2e-38d29d3e4af7

Expected Behavior

Legend icon should be identical has in the Legend tab.

Steps To Reproduce

No response

Anything else?

No response

@jolevesq
Copy link
Member

For BC park, right behavior is the one on legend panel. When we open item in layers we see there is only one item. In the icon stack of the layers panel, item is duplicated to fill the box. This is not right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants