Issue with query rendered features and some models
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
I have come across an issue where query rendered features is only returning a feature when the mouse is over certain parts of a model (I don't think this happens for every model but some that I am using)
I have an example of it here - https://jsbin.com/pupokoqaga/edit?html,output
I am not entirely sure if the issue I am encountering is down the model I am using or a Mapbox issue, but it would be great to get some insight on if it is the model's issue, what needs to be changed so it works correctly.
The model can be accessed from here if needed - https://model-repo-488fcbb8-6cc3-4249-9acf-ea68bbdda2ee.s3.eu-west-2.amazonaws.com/grandstand.glb
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 the linked JSBin reproduction and inspect how queryRenderedFeatures behaves when the pointer moves across the supplied grandstand.glb model. Compare the model-specific behavior with other models and determine whether the inconsistency is caused by the model or Mapbox GL JS. Done means the cause is established and the required follow-up is clearly identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100