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

Open
a-milenin opened this issue Nov 22, 2024 · 0 comments
Open

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

a-milenin opened this issue Nov 22, 2024 · 0 comments

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

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

1 participant