Skip to content

[codex] Add Leaflet tile diagnostics overlay - #86

Open
Komzpa wants to merge 1 commit into
masterfrom
codex/tile-debug-overlay
Open

[codex] Add Leaflet tile diagnostics overlay#86
Komzpa wants to merge 1 commit into
masterfrom
codex/tile-debug-overlay

Conversation

@Komzpa

@Komzpa Komzpa commented May 8, 2026

Copy link
Copy Markdown
Member

Summary

  • add debugTiles: true for L.TileLayer.Kothic
  • draw a semi-transparent per-tile canvas overlay with z/x/y, tile URL, load/render status, and feature count
  • keep the same diagnostics available from layer.getDebugMessages()
  • surface JSON tile load failures through the tile callback so failed tiles can show diagnostics instead of staying silently gray
  • cover loading, rendered, and HTTP error diagnostics in the Leaflet layer smoke test

Fixes #16.

Validation

  • npm test
  • git diff --check

@Komzpa
Komzpa force-pushed the codex/tile-debug-overlay branch from 75b2b26 to 414dce2 Compare May 8, 2026 14:56
@Komzpa
Komzpa marked this pull request as ready for review May 17, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more user side debugging features

1 participant