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

Drag event #172

Open
levelsio opened this issue Aug 24, 2023 · 1 comment
Open

Drag event #172

levelsio opened this issue Aug 24, 2023 · 1 comment

Comments

@levelsio
Copy link

It would be very useful if the globe had a "drag" event.

Right now I am hacking the globe's onZoom event which seems to trigger every time I drag the globe.

Thanks!

@vasturiano
Copy link
Owner

@levelsio if it's more convenient you can also subscribe to changes to the orbit controls.

myGlobe.controls().addEventListener('change', /* your handler */);

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

2 participants