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

Zooming out makes models disappear, is there a way to disable this? #13431

Open
joshnice opened this issue Mar 12, 2025 · 0 comments
Open

Zooming out makes models disappear, is there a way to disable this? #13431

joshnice opened this issue Mar 12, 2025 · 0 comments

Comments

@joshnice
Copy link

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.

Image
Image

Links to related documentation

I have attempted to change the model-ambient-occlusion-intensity and 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!

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

No branches or pull requests

1 participant