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

Fix vectortile opacity in layer groups #15365

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

ahocevar
Copy link
Member

Like vector layers, the vector rendered items of a vector tile layer need to get the layer state's opacity applied instead of the layer opacity. Otherwise the layer group opacity won't be taken into account.

Fixes #15362.

Copy link

📦 Preview the website for this branch here: https://deploy-preview-15365--ol-site.netlify.app/.

@ahocevar ahocevar force-pushed the vectortile-layergroup-opacity branch from 417ad80 to 659ec3c Compare November 22, 2023 18:27
@ahocevar ahocevar force-pushed the vectortile-layergroup-opacity branch from 659ec3c to 5d9e8cb Compare November 22, 2023 18:40
@ahocevar ahocevar marked this pull request as ready for review November 22, 2023 18:47
@ahocevar ahocevar merged commit 58100d6 into openlayers:main Nov 24, 2023
8 checks passed
@ahocevar ahocevar deleted the vectortile-layergroup-opacity branch November 24, 2023 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layer group opacity not applied to vector tile labels
2 participants