-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
pickPosition doesn't pick ellipsoid in 2D and CV #5076
Comments
I came to report that 2D picking isn't working for WMS (GetFeatureInfo), and I'm wondering if it's a subset of this issue. Demo: go to the WMS Sandcastle, select a point, watch the info load. (If this is a different issue, I can open a new ticket.) |
Thanks, @hpinkos ! I didn't see any workarounds mentioned on the other ticket -- do I just need to tell customers that WMS picking won't work in 2D for now? |
Yeah, unfortunately I can't think of a good workaround. It's labeled high priority, but I'm not sure when we'll get a chance to look at it. If you'd like to take a stab at a solution, comment in that issue and someone from the team can give you some tips on where to get started. |
Unfortunately the "hard math" bits are my biggest weakness -- I can usually track what everything is doing but once the vectors start normalizing I have to "step over" in the debugger :D |
Reported again here: https://groups.google.com/d/msg/cesium-dev/k1brfPffEec/GJUOPXywAAAJ |
A very useful workaround for anyone getting here:
|
In 3D,
pickPosition
will return a position when hovering over the globe. In 2D and CV, it's the result is alwaysundefined
The text was updated successfully, but these errors were encountered: