-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fix globe.pick for 2D/CV #6859
Fix globe.pick for 2D/CV #6859
Conversation
Thanks for the pull request @hpinkos!
Reviewers, don't forget to make sure that:
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
This is ready for review. I updated the first comment now that I have a better understanding of how our coordinates are supposed work. We did something similar for |
@bagnell can you review please? |
The code looks good to me. Since this is a breaking change, are we sure we don't want to add a new function and deprecate the old one? |
I think keeping it this way makes it consistent with what we did for |
Fix getPickRay in 2D
Since this has some of my code changes, someone else should review and merge. @mramato? |
@bagnell this is ready |
This makes
globe.pick
return a position in 3D coordinates instead of world coordinates based on the scene mode, which is what users are expecting. We did a similar thing forscene.pickPosition
.This fixes imagery layer feature picking in 2D/Columbus View.