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

Camera moveEnd not triggered when globe spun #3012

Closed
adamish opened this issue Sep 10, 2015 · 4 comments
Closed

Camera moveEnd not triggered when globe spun #3012

adamish opened this issue Sep 10, 2015 · 4 comments

Comments

@adamish
Copy link

adamish commented Sep 10, 2015

in Cesium 1.13 if you move the globe (any Cesium.Viewer instance) using a "flick" gesture, i.e. the mouse is still moving at the point the mouse button is released then viewer.camera.moveEnd is NOT triggered.

The moveEnd event appears to work correctly when moving the globe normally, e.g. a simple mouse down, move, mouse up.

Example

var viewer = new Cesium.Viewer('cesiumContainer');
viewer.camera.moveEnd.addEventListener(function () {
    console.log("camera move");
}, this);
@mramato
Copy link
Contributor

mramato commented Sep 10, 2015

I can't reproduce what you are seeing. It takes way too long, but the camera event always fires. Are you sure you simply aren't running into #2839? (We should fix this sooner rather than later either way).

@hpinkos
Copy link
Contributor

hpinkos commented Sep 10, 2015

Also related: #2715

@adamish
Copy link
Author

adamish commented Sep 14, 2015

Yes this is a duplicate of 2715, the event is triggered, it just happens 10+ seconds later... Sorry I was being impatient...

@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 14, 2015

Thanks @adamish

@pjcozzi pjcozzi closed this as completed Sep 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants