-
-
Notifications
You must be signed in to change notification settings - Fork 634
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
Hash is not synced with map position when terrain is enabled. #4125
Comments
This is related to the fact that we are recalculating the zoom using a maplibre-gl-js/src/ui/handler_manager.ts Lines 522 to 526 in 5ab0099
This was introduced to solve this issue: Using this PR: I think there was another issue related to this code, but I can't find it ATM... |
I think the solution is to the |
maplibre-gl-js version: 4.3.1
browser: Chrome
Steps to Trigger Behavior
npm run start
http://localhost:9966/test/examples/3d-terrain.html
map.getZoom()
Link to Demonstration
Expected Behavior
Zoom in the address bar and in the console (current map state) should be the same after the map had stopped moving.
Actual Behavior
The zoom values are different.
The text was updated successfully, but these errors were encountered: