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

Picking coordinates on 2D mode: Middle-click rotation. #1337

Closed
DavidHudlow opened this issue Dec 11, 2013 · 2 comments · Fixed by #1359
Closed

Picking coordinates on 2D mode: Middle-click rotation. #1337

DavidHudlow opened this issue Dec 11, 2013 · 2 comments · Fixed by #1359

Comments

@DavidHudlow
Copy link

Steps:

  1. Go to Sandcastle picking: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Picking.html&label=Showcases
  2. Replace line 504 with
var widget = new Cesium.CesiumWidget('cesiumContainer', { sceneMode : Cesium.SceneMode.SCENE2D }); 

to enable 2D mode
3. Middle-click on map and drag to rotate
4. Continue picking.

Expected result: Picking should display coordinates in the same place relative to the pointer and should correspond to the location of the pointer relative to the map.

Actual result: Display of coordinates wanders from the mouse pointer and displays coordinates accordingly.

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 21, 2013

@bagnell can you verify this and see if there is a workaround?

@bagnell
Copy link
Contributor

bagnell commented Jan 1, 2014

This is fixed in the above pull, but picking is still broken when the map is rotated. I'll open a separate issue for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants