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

Model sinks into map at low zoom #424

Open
jasonhibbs opened this issue Jun 16, 2024 · 1 comment
Open

Model sinks into map at low zoom #424

jasonhibbs opened this issue Jun 16, 2024 · 1 comment
Labels
🍏 feature New feature or request

Comments

@jasonhibbs
Copy link

At zoom levels below about 13, while pitch is around zero, my model appears to sink into the map.

sinking-model

Visit my codepen to see my setup: zoom out, pitch to zero.

It doesn’t appear to be an altitude issue, dragging the model vertical doesn’t change the behaviour.

Mapbox 3.4.0, Standard style, Threebox 2.2.2

@jasonhibbs jasonhibbs added the 🪲 bug Something isn't working label Jun 16, 2024
@jscastro76
Copy link
Owner

Haven't seen an issue like that ever... but maybe it's due you're using Mapbox 3.4. Latest version supported (I mean, where all the examples were tested) in this plugin was Mapbox-gl-js v2.2.0.

It seems Mapbox changed the way the calculate the altitude

@jscastro76 jscastro76 added 🍏 feature New feature or request and removed 🪲 bug Something isn't working labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍏 feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants