Repository navigation
refactor(examples): drop the custom-projection child bounds inset - #744
Merged
Merged
Conversation
crsBoundsToTileRange leaves out tiles that only touch the bounds since #689, so shrinking the parent's bounds first no longer changes any child range. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cleaning up code post #689
Note
This PR was written by Claude (Claude Code), not by @kylebarron.
The custom-projection example's traversal shrank each parent tile's bounds by
CHILD_BOUNDS_INSET(1e-9 of the tile's size) before asking the next level for its children. It needed that becausecrsBoundsToTileRangealso returned tiles that only touch the bounds. Since #689,crsBoundsToTileRangeleaves those tiles out itself, so the inset no longer changes anything.Checked:
mainbefore fix(deck.gl-raster): Select each tile once in raster tile traversal #689 it changed 1,181, so the inset did real work until then.?projection=antarctic&raster=nasa-antarctic¢er=0,-75&zoom=4give byte-identical screenshots with and without the inset.pnpm --filter deck.gl-custom-projection-example typecheckandbiome checkpass.Ref #689
🤖 Written by Claude Code