bcgov / smk-legacy-ui

Legacy Admin UI for the SMK has been de-supported. Please see the CLI under https://github.com/bcgov/smk for an alternative.
Apache License 2.0
8 stars 3 forks source link

Changing opacity multiple times retains only initial change #114

Open fmadelung opened 6 years ago

fmadelung commented 6 years ago

Changing the opacity for a layer (using the Indian reserves - including band named coloured filled) to 90 the first time works as expected.

When trying to change it to a lower opacity (I.E. 50) afterwards retains the 90 opacity in the map viewer (visually the same in the map viewer but the layer configuration box in the utility manager is updated)

dhlevi commented 6 years ago

The values are decimals. 90 and 50 will both produce the same result. The maximum opacity is 1, and the minimum is 0. Setting the opacity to 0.9 or 0.5 will work as you're expecting.