Repository navigation
feat(examples): jump to the selected topo map instead of flying - #868
Merged
Merged
Conversation
The fly-to held back tile requests until the camera stopped, so a map's tiles only started loading about a second after it was picked. Co-Authored-By: Claude Opus 5.5 <[email protected]>
kylebarron
enabled auto-merge (squash)
November 9, 2026 16:25
kylebarron
added a commit
that referenced
this pull request
Nov 9, 2026
> [!NOTE] > This PR was written by Claude (Claude Code), not by @kylebarron. Moves the PR title check from `pull_request_target` to `pull_request`. From December 2, 2026, GitHub blocks `pull_request_target` workflows in public repositories by default ([docs](https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target#default-policy-for-pull_request_target)). A scheduled brownout on November 9 already failed this workflow at startup on #868 through #871. The check only reads the PR title from the event, so it doesn't need the write token that `pull_request_target` gives fork PRs. Under `pull_request`, fork PRs get a read-only token, and the action fails the check when it can't add a label. So labels are now added only to PRs from branches in this repository. Nothing reads these labels. The job is renamed from `Lint` to `PR title`. Both this job and CI's lint job reported a check named `Lint`, which is required on `main`, so CI's lint alone satisfied it. After this change, the required `Lint` check is CI's lint only. The title check becomes required only if `PR title` is added to the required checks. 🤖 Written by [Claude Code](https://claude.com/claude-code) 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.
usgs-topo-jump-vs-fly.mp4
Note
This PR was written by Claude (Claude Code), not by @kylebarron.
The usgs-topo example now jumps to the topo map you pick, instead of flying there over one second. You see its tiles load at once, rather than after the camera stops.
While the camera flies, the tiles in view change every frame, so
COGLayer's 50 msdebounceTime(#809) holds back tile requests until the animation ends. After picking another map, the fly-to sent the tile request 1.01 s after the pick. The jump sends it at 0.20 s.Changes
fitBoundsinonSourceLoadpassesanimate: falseinstead ofduration: 1000. It still fits the map with 40 px padding.Checked
mainand of this branch. One run each, times from the pick:main(flies)🤖 Written by Claude Code