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

FlyTo final position depends on duration in 2D mode #12325

Closed
a-milenin opened this issue Nov 22, 2024 · 1 comment
Closed

FlyTo final position depends on duration in 2D mode #12325

a-milenin opened this issue Nov 22, 2024 · 1 comment

Comments

@a-milenin
Copy link

What happened?

camera.flyTo goes to different position depends on fly duration zero or not.

Reproduction steps

  1. Rotate map
  2. Click FlyTo (0)
  3. Check the final camera position
  4. Rotate map
  5. Click FlyTo (1)
  6. See that final camera position with fly duration 0 and 1 are different

Sandcastle example

https://sandcastle.cesium.com/#c=jZFBT8IwGIb/ypdd6JKlQxIuOBZ16klCIotcdinthzZ27dJ2ECT+d7fCEoMc7O17+zx925Qb7TzsJO7Rwhw07qFAJ9uavoWMVBEPc2G0Z1KjraIEjjVrFkbg5HE24Ishoa/L8r58SsBx1NhnM5h8x7eVrjQPbVt1KE1XRkRrmZdGxzDPz3egnNVoGQ0MOYJA56UO1OwCaYyTfb4uEhhOgnPRimnBmfMKKROiNEZtmH1ovTeajJ5DPxnHowRI6D61jeNe/oc6ptNLlU6DHCVR5vxBYV5pCOtO1o2xHlqrCKWpx7pRzKNLNy3/RE+5c73Yo1n6W82E3IEU8ysfAFwx57qdbavUSn5hFeVZ2vF/VGWYkPp9uUOr2KHHPm7yl1NIKc3Sbrxu+tPDL07+AQ

Environment

Browser: Chrome
CesiumJS Version: 1.123
Operating System: Windows

@ggetz
Copy link
Contributor

ggetz commented Dec 10, 2024

Thanks for the report @a-milenin! I believe this is a duplicate of #2469. I'm going to close your issue to keep the discussion in one place. If you have any further input on this, please post it there instead.

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

2 participants