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

Hills are chopped off on zoom in #10381

Open
mprove opened this issue Feb 12, 2021 · 1 comment
Open

Hills are chopped off on zoom in #10381

mprove opened this issue Feb 12, 2021 · 1 comment
Assignees

Comments

@mprove
Copy link

mprove commented Feb 12, 2021

mapbox-gl-js version: 2.1.1

browser: any

Steps to Trigger Behavior

  1. Go to Pompeii here at high pitch and look up to the Vesuv, zoom 17
  2. Press Plus to zoom in

Link to Demonstration

https://mprove.de/chrono3d?q=40.74913,14.48497&z=17&m=HL10653110&s=1&r=-31&t=85&d=1

Expected Behavior

Vesuv still visible from the market place in Pompeii at zoom level 18

Actual Behavior

Vesuv is chopped off.

This seems to be a regression. It used to be ok in v2.0.1

@ansis
Copy link
Contributor

ansis commented Feb 12, 2021

This is being caused by #10304
It looks like we need to tweak it at very high zoom levels.

If you are looking for an immediate workaround you could set map.transform._horizonShift = 0.05 but this may stop working or even error in future versions of mapbox-gl-js.

@ansis ansis added the bug 🐞 label Feb 12, 2021
@karimnaaji karimnaaji self-assigned this Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants