-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
viewer.flyTo on billboards breaks zoom limits #5573
Comments
Thanks for the report, @burn123. Do you have a minimal code example to reproduce this? |
@pjcozzi |
Thanks for the prompt response! |
@pjcozzi I realized that the code example I gave didn't actually contain the code that shows it is broken. |
I traced the issue some, and I realized that part of the problem, specifically why the minimum zoom is broken, is this line of Viewer.js:
I'm not sure why the minimum zoom would be updated programmatically, because this should be something left up to the user in my opinion. Also, |
I feel like this may have been mentioned before, but the
flyTo
method doesn't respect the zoom limits. For my case particularly it is zooming in way closer than the desired max zoom for billboards, but I'm guessing it isn't limited to that.In addition, if you fly to a billboard, it seems to break the max zoom, because after that, you can zoom to any zoom level in both 2D and 3D, and it won't restrict you. It doesn't break the min zoom, so you can't zoom out infinitely, but you can seemingly zoom in infinitely
The text was updated successfully, but these errors were encountered: