Properly handle alt tiles of transparent images

This commit is contained in:
Andreas Hocevar
2021-08-11 21:13:20 +02:00
parent efae01e71f
commit 4526f2ef34
4 changed files with 15 additions and 4 deletions

View File

@@ -33,6 +33,8 @@ const map = new Map({
const data = context.getImageData(0, 0, size, size).data;
return Promise.resolve(data);
},
// disable opacity transition to avoid overlapping labels during tile loading
transition: 0,
}),
}),
],