Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow layers that have singleTile: true set to be used for gfi requests #241

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

dopenguin
Copy link
Member

@dopenguin dopenguin commented Feb 17, 2025

Summary

If a WMS-Layer had singleTile set to true, gfi requests were not possible as the if-statement only checked for TileLayer which is not the case for single-tiled-WMS-layers.

Instructions for local reproduction and review

  • Configure the Layer with the id 367 in @polar/client-snowbox for general usage and gfi
  • npm run snowbox
  • Clicking in the map should yield a result.

Pull Request Checklist (for Assignee)

  • Changelogs are maintained
  • Functionality has been tested in Firefox, Chrome, Safari
  • Functionality has been tested on a smartphone
  • Functionality has been tested with 200% screen zoom
  • [ ] Screenreader functionality has been manually tested with NVDA

UI has been tested in the following tools regarding accessibility (only regarding functionality affected in this PR)

  • [ ] Chrome Lighthouse
  • [ ] Firefox Accessibility

Relevant tickets, issues, et cetera

None

@dopenguin dopenguin added the bug Something isn't working label Feb 17, 2025
@dopenguin dopenguin self-assigned this Feb 17, 2025
Copy link
Member

@warm-coolguy warm-coolguy left a comment

Choose a reason for hiding this comment

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

@dopenguin dopenguin merged commit de516a1 into main Feb 17, 2025
4 checks passed
@dopenguin dopenguin deleted the fix/gfi-wms-single-tile branch February 17, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants