Skip to content

fix: Fix layers' isLoaded to return false while COG/Zarr metadata is being loaded - #667

Merged
kylebarron merged 2 commits into
mainfrom
kyle/raster-layer-is-loaded
Sep 23, 2026
Merged

kylebarron merged 2 commits into
mainfrom
kyle/raster-layer-is-loaded

Conversation

@kylebarron

Copy link
Copy Markdown
Member

deck.gl layers and composite layers have an isLoaded flag, but in the case of a TileLayer it only applies to the sublayers. Ie isLoaded will check the value of isLoaded in all of the sub layers.

We would like isLoaded to also return false while the metadata of a layer is resolving.

This means that in #624 we'll be able to use the standard upstream LoadingWidget to denote that layers are still loading.

@kylebarron
kylebarron enabled auto-merge (squash) September 23, 2026 16:18
@github-actions github-actions Bot added the fix label Sep 23, 2026
@kylebarron
kylebarron merged commit 397d53b into main Sep 23, 2026
3 checks passed
@kylebarron
kylebarron deleted the kyle/raster-layer-is-loaded branch September 23, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant