ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
681 stars 230 forks source link

Vl-style-icon color option opacity not work in rgba notation #393

Closed wtcodeai closed 3 years ago

wtcodeai commented 3 years ago

So, as you can read from topic, when i use vl-style icon

<vl-style-icon :src="${iconsPath}${icon}" :color="[255, 0, 0, 0.5]" :scale="scale" />

I always get icon colored with alpha equals 1

But with hex notation, as exmaple #ff8080 ( it's rgba(255, 0, 0, 0.5) in hex) and color="#ff8080" all works fine

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.