Zooming out makes models disappear, is there a way to disable this?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: 3.10.0
**Browser**: Chrome
### Question
I have lots of geojson model features close together in a map. When I zoom out some of the models disappear, I assume this is some sort of culling which is happening to help improve performance. However if I didn't want this to happen or change what zoom levels this happens it is there a way to do this?
Example - https://jsbin.com/suhocesugo/edit?html,output
Can you see as you zoom out of the map that the models seem to disappear.


### Links to related documentation
I have attempted to change the [model-ambient-occlusion-intensity](https://docs.mapbox.com/style-spec/reference/layers/#paint-model-model-ambient-occlusion-intensity) and [model-cutoff-fade-range](https://docs.mapbox.com/style-spec/reference/layers/#paint-model-model-cutoff-fade-range), however I don't think these are the right paint properties to change?
I understand this might be a limitation and can't be changed!
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 JSBin reproduction and the linked model-ambient-occlusion-intensity and model-cutoff-fade-range documentation. Determine whether the zoom-dependent disappearance is expected culling and whether a supported setting changes it; done means documenting the available behavior or identifying a concrete change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100