Open IdrisLaabidi opened 1 week ago
We will try to just remove the rotation 👍
I tried to address this issue but was not lucky so far. It seems to be a bug within ThreeJS when using the zoomToCursor functionality that can also be observed on their demos e.g. here. There is also an open issue about it in their repo here
While there is an option to disable camera rotation and it did disable the user being able to rotate the camera, the rotation of this arc was unaffected.
As this issue does not happen often and theres no easy fix we can do, id suggest closing this and to hope threeJS fixes it in an upcoming version
Bug
Expected Behaviour
GIVEN the map is tilted and buildings are visible
WHEN zooming in
THEN the camera should dolly towards the mouse pointer position.
Actual Behavior
The camera appears to be rotating, following an arc trajectory towards the mouse coordinates instead of dollying straightforward.
Screenshots
Steps to Reproduce the Problem
Specifications