fix(render): a setBase whose style fails no longer unsettles the earlier call whose base is still drawn: settled follows the call that last changed the base, in the stub and the Cesium port

This commit is contained in:
Sameh Khamis committed 2026-11-11 20:28:02 -08:00
1 parent 2a1e2d9c0b
commit a6d5590430
4 files changed
+34 -4

No files matched your search

+2 -1
View File
@@ -364,7 +364,8 @@ What it draws of the style specification:
The Cesium port loads the style before the base changes (a style that fails
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
`settled: false`; a later call whose style fails leaves the earlier call's
base drawn, and that call settles), draws it as Web Mercator imagery under the
base's other imagery (`src/render/cesium/vectorBase.js`, 256 px tiles to
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