Browse Source
Fix GPS accuracy circle source/layer errors breaking WASD
Fix GPS accuracy circle source/layer errors breaking WASD
Root cause: Uncaught "Source already exists" error in onGPSSuccess was breaking execution flow before the WASD interval could start. Fixes: - Check if source exists before adding (use getSource instead of flag) - Wrap layer/source removal in try-catch to handle edge cases - Wrap source/layer creation in try-catch to prevent breaking execution - Update existing source data instead of recreating when possible 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>master
1 changed files with 42 additions and 34 deletions
-
76index.html
Write
Preview
Loading…
Cancel
Save
Reference in new issue