Make query methods return raster features/sources
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
It would be useful if raster layers were included in featuresAt. Especially for raster layers with sources with limited bounds.
I see here that this is a noop: https://github.com/mapbox/mapbox-gl-js/blob/2a2aec44a39e11e73bdf663258bd6d52b83775f5/js/source/raster_tile_source.js#L98
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with js/source/raster_tile_source.js around the referenced line and trace how featuresAt handles layer and source queries. Determine how raster layers with limited source bounds should participate in query results, then verify that the query methods return the expected raster features or sources without affecting existing vector behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100