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

View File

@@ -100,8 +100,7 @@ function shade(inputs, data) {
const elevation = new XYZ({
url: 'https://{a-d}.tiles.mapbox.com/v3/aj.sf-dem/{z}/{x}/{y}.png',
crossOrigin: 'anonymous',
transition: 0
crossOrigin: 'anonymous'
});
const raster = new Raster({