Skip to content

Fix CFS WMS layer bounds and add data availability check (#175)#176

Merged
spydmobile merged 3 commits intomainfrom
dev
Mar 1, 2026
Merged

Fix CFS WMS layer bounds and add data availability check (#175)#176
spydmobile merged 3 commits intomainfrom
dev

Conversation

@spydmobile
Copy link
Copy Markdown
Contributor

Omit undefined bounds from MapBox addSource to prevent CFS layers from failing. Add WMS tile probe before adding layers — shows user-friendly warning when no data exists for the selected date instead of console error spam.

Probes a single tile before adding CFS layers to the map. If the WMS
server returns XML instead of an image (no data for selected date),
shows a warning in the layer panel instead of flooding the console
with tile decode errors.

Fixes #175
@spydmobile spydmobile merged commit d30c249 into main Mar 1, 2026
2 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