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

ImageLayer的半透明被设置了两次 #2404

Open
ydfzgyj opened this issue Aug 18, 2024 · 0 comments
Open

ImageLayer的半透明被设置了两次 #2404

ydfzgyj opened this issue Aug 18, 2024 · 0 comments

Comments

@ydfzgyj
Copy link
Contributor

ydfzgyj commented Aug 18, 2024

maptalks's version and what browser you use?

maptalks@1.0.0-rc.37

Issue description

ImageLayer设置opacity时,会出现叠加,比如设置 opacity: 0.5,实际生效的是 0.5*0.5=0.25

Please provide a reproduction URL (on any jsfiddle like site)

https://codepen.io/ydfzgyj/pen/QWPywOW

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

No branches or pull requests

1 participant