Open birkskyum opened 1 week ago
A globe with terrain will by default allow zooming to negative zoom levels, resulting in some undefined behavior.
The globe will show artifacts, and then jump back to the minZoom. There should be a hard limit on how far a user is allowed to zoom out.
https://github.com/user-attachments/assets/7f757c47-5620-4b5a-885b-f2c70d577b6f
Repro:
When disabling terrain, and scroll zooming out it has a bounce to it, so here a better zoom constraint would help too
https://github.com/user-attachments/assets/c1088bb6-4fe7-476b-855e-5aa9923e59c6
A globe with terrain will by default allow zooming to negative zoom levels, resulting in some undefined behavior.
The globe will show artifacts, and then jump back to the minZoom. There should be a hard limit on how far a user is allowed to zoom out.
https://github.com/user-attachments/assets/7f757c47-5620-4b5a-885b-f2c70d577b6f
Repro: