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

Scroll wheel zoom goes through the earth #4680

Closed
hpinkos opened this issue Nov 23, 2016 · 3 comments
Closed

Scroll wheel zoom goes through the earth #4680

hpinkos opened this issue Nov 23, 2016 · 3 comments

Comments

@hpinkos
Copy link
Contributor

hpinkos commented Nov 23, 2016

Reported on the forum: https://groups.google.com/forum/#!topic/cesium-dev/xeRAg8lObUg

If you go to this sandcastle:
http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Geometry%20and%20Appearances.html&label=Showcases

Make the camera perpendicular to the earth then zoom in quickly as far/fast as you can using the mouse wheel with the mouse over a 3D shape, you'll zoom through the earth about 10-20% of the time.

NOTE: It doesn't seem to happen nearly as often if the camera is on an angle, or if the mouse isn't over a shape.

It only seems to happen for me on Mac OS X and Ubuntu. It does not happen on Windows. I am able to reliably re-create the issue using OS X Sierra and Chrome 55

@smills2929
Copy link

smills2929 commented Dec 5, 2016

Not sure if it's related, but I've noticed that the viewer.scene.screenSpaceCameraController.minimumZoomDistance keeps being set to 0, regardless of what I set it to.

From a quick search of the Cesium source it seems that controller.minimumZoomDistance is being set in multiple places around the application every frame. How can I stop this being set to 0?

@pjcozzi
Copy link
Contributor

pjcozzi commented Jan 2, 2017

CC #2968 and #3037

@hpinkos
Copy link
Contributor Author

hpinkos commented Jan 17, 2017

Closing as duplicate of #4855

@hpinkos hpinkos closed this as completed Jan 17, 2017
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

3 participants