mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
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:
1 parent
09d1133d90
commit
750dab0123
3 files changed
+42
-5
No files matched your search
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user