Layer opacity below 1 results in unwanted graying effect
amuedespacher opened this issue · comments
When setting the opacity of a map layer to some value below 1 (e.g. 0.5), the map layer is displayed in a gray-ish color.
Steps to reproduce:
- Open sample page (https://qgis.github.io/qgis-js/)
- Select any of the rendering types (ol XYZ, ol Canvas, or JS)
- Set layer opacity to e.g. 0.5
Actual result:
- Map layer is displayed with a grayish tint.
Expected result:
- When reducing the layer opacity, the layer should maintain its original color quality, becoming more transparent without a gray overlay. The colors should remain true to their original hue, and only in terms of transparency.
Tested both with the sample project "village" and an own QGIS project.
This is fixed and deployed to GitHub Pages
If not urgent, I will have a look at the other new issues and then create a new npm version with them together..?