Skip to content

docs(spec): say why RasterTileLayer keeps its refetch count - #849

Merged
kylebarron merged 1 commit into
mainfrom
kyle/spec-raster-tile-layer-refetch
Nov 5, 2026
Merged

kylebarron merged 1 commit into
mainfrom
kyle/spec-raster-tile-layer-refetch

Conversation

@kylebarron

Copy link
Copy Markdown
Member

Note

This PR was written by Claude (Claude Code), not by @kylebarron.

This updates the Sources design spec. Decision 26 said RasterTileLayer would move to the same reloadAll override that MosaicLayer uses since #848. It now says why RasterTileLayer keeps decision 24's refetch count instead:

  • The id changes anyway. RasterTileLayer's inner TileLayer id already changes with the tile grid, because deck.gl's TileLayer builds its grid only once.
  • ZarrLayer starts its own refetches. It refetches when selection changes by value, and there's no app trigger to hand to deck.gl's TileLayer. An override would still need a stored value that changes.
  • There's nothing to fix. Its inner TileLayer never calls deck.gl's leaky reloadAll.

The PR changes only the spec.

🤖 Written by Claude Code

@github-actions github-actions Bot added the docs label Nov 5, 2026
@kylebarron
kylebarron merged commit 40f1b54 into main Nov 5, 2026
3 checks passed
@kylebarron
kylebarron deleted the kyle/spec-raster-tile-layer-refetch branch November 5, 2026 19:01
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