Disable opacity transition for raster source sources

This commit is contained in:
ahocevar
2019-04-17 17:38:50 -07:00
parent 251fc79484
commit 887d8e8a90
4 changed files with 4 additions and 8 deletions
+1 -2
View File
@@ -100,8 +100,7 @@ function xyz2rgb(x) {
const raster = new RasterSource({
sources: [new Stamen({
layer: 'watercolor',
transition: 0
layer: 'watercolor'
})],
operation: function(pixels, data) {
const hcl = rgb2hcl(pixels[0]);