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

Imagery feature picking only works in 3D #2115

Closed
pjcozzi opened this issue Sep 6, 2014 · 5 comments
Closed

Imagery feature picking only works in 3D #2115

pjcozzi opened this issue Sep 6, 2014 · 5 comments
Assignees

Comments

@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 6, 2014

http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Web%20Map%20Service%20(WMS).html&label=Beginner

@tlpinney
Copy link

This occurs because the pickedPosition is coming back undefined in 2D mode.

https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/ImageryLayerCollection.js#L365-L370

It may also be related to the issue #2480

@mramato mramato changed the title WMS picking only works in 3D Imagery feature picking only works in 3D Jul 23, 2015
@mramato
Copy link
Contributor

mramato commented Jul 23, 2015

This recently came up on the forum

@kring
Copy link
Member

kring commented Jul 24, 2015

I'm happy to look at this if it's specific to imagery layers, but it seems pretty clear it's a general globe.pick doesn't work in 2D, as described in #2480, right?

@hpinkos
Copy link
Contributor

hpinkos commented Jul 24, 2015

@kring yeah, I was looking at this a tiny bit earlier today, and globe.pick is definitely the problem. It returns undefined.

@mramato
Copy link
Contributor

mramato commented Oct 14, 2015

Closing since this is a dupe of #2480

@mramato mramato closed this as completed Oct 14, 2015
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

5 participants