Skip to content

Promote to production: let transformRequest own all OFM URL rewriting - #183

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Aug 8, 2026
Merged

Promote to production: let transformRequest own all OFM URL rewriting#183
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Deploys PR #182 — drops manual TileJSON inlining that caused MapLibre to silently fail vector tile feature extraction. transformRequest now handles all OFM URL rewriting as intended.

🤖 Generated with Claude Code

Kresna and others added 2 commits August 8, 2026 15:54
…l TileJSON inline

Inlining the TileJSON tiles array (without vector_layers, scheme, attribution,
etc.) caused MapLibre to silently fail feature extraction from the tiles: bytes
were received correctly (181 KB valid MVT confirmed by probe) but no features
were rendered. The issue is that MapLibre needs the full TileJSON metadata to
process vector tiles correctly.

fetchResolvedStyle is now a pure fetch+parse — it returns the style JSON as-is
with OFM URLs untouched. transformRequest handles all URL rewriting at request
time for tiles, TileJSON, sprites and glyphs, which is its designed purpose.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(maps): let transformRequest own all OFM URL rewriting, drop manual TileJSON inline
@slaveofcode
slaveofcode merged commit 0ce4ee2 into main Aug 8, 2026
2 of 3 checks passed
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.

1 participant