Cesium vectorBase: transparent where the style paints no background; cancelled tiles not painted

The provider said it had no alpha channel, so a style with no or a
translucent background drew black there. And its requestImage ignored the
Cesium request, so tiles of a removed layer were still painted once their
source tiles arrived; a cancelled request now aborts the paint.
This commit is contained in:
Sameh Khamis committed 2026-11-11 19:28:13 -08:00
1 parent 09d1133d90
commit 750dab0123
3 files changed
+42 -5

No files matched your search

+2 -1
View File
@@ -352,7 +352,8 @@ leaves the base as it was; a later `setBase`, or disposal, aborts the load and
the overtaken call changes nothing, resolving with `imagery: []` and
`settled: false`), draws it as Web Mercator imagery under the
base's other imagery (`src/render/cesium/vectorBase.js`, 256 px tiles to
level 20), and credits each source's attribution as plain text. The stub
level 20, transparent where the style paints no opaque background; a tile
whose request is cancelled, its layer removed, is not painted), and credits each source's attribution as plain text. The stub
loads the style and paints nothing. The check `globe.base.vector` serves a
style and a tile from data URLs and reads the drawn fill.