Skip to content

fix: remove invalid scale suffix from XYZ tile URL and add TileJSON e… - #528

Merged
omranlm merged 1 commit into
hotosm:developfrom
Spatialnode:fix/map-large-area
Aug 17, 2026
Merged

fix: remove invalid scale suffix from XYZ tile URL and add TileJSON e…#528
omranlm merged 1 commit into
hotosm:developfrom
Spatialnode:fix/map-large-area

Conversation

@superwaih

Copy link
Copy Markdown
Collaborator

This pull request fixes the issue where OpenAerialMap imagery was not displaying on the map in the fAIr frontend.

What changed

  • Updated the XYZ tile URL returned by ‎getImageryTileUrl to remove the invalid ‎@1x scale suffix, which was causing the titiler endpoint to reject requests with a 422 error (it was parsing ‎{y}@1x as the y coordinate).

Before

Screen.Recording.2026-08-17.at.14.02.55.mov

after

Screen.Recording.2026-08-17.at.14.04.14.mov

@omranlm omranlm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@omranlm
omranlm merged commit ea30497 into hotosm:develop Aug 17, 2026
6 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.

3 participants