Properly handle alt tiles of transparent images

This commit is contained in:
Andreas Hocevar committed 2021-08-18 11:24:34 +02:00
1 parent efae01e71f
commit 4526f2ef34
4 files changed
+15 -4

No files matched your search

+2
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,
}),
}),
],