{"action":"opened","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5076","repository_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5076/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5076/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5076/events","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/issues/5076","id":212135968,"number":5076,"title":"pickPosition doesn't pick ellipsoid in 2D and CV","user":{"login":"hpinkos","id":3451886,"avatar_url":"https://avatars0.githubusercontent.com/u/3451886?v=3","gravatar_id":"","url":"https://api.github.com/users/hpinkos","html_url":"https://github.com/hpinkos","followers_url":"https://api.github.com/users/hpinkos/followers","following_url":"https://api.github.com/users/hpinkos/following{/other_user}","gists_url":"https://api.github.com/users/hpinkos/gists{/gist_id}","starred_url":"https://api.github.com/users/hpinkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpinkos/subscriptions","organizations_url":"https://api.github.com/users/hpinkos/orgs","repos_url":"https://api.github.com/users/hpinkos/repos","events_url":"https://api.github.com/users/hpinkos/events{/privacy}","received_events_url":"https://api.github.com/users/hpinkos/received_events","type":"User","site_admin":false},"labels":[{"id":653779,"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/labels/bug","name":"bug","color":"d7e102","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-06T14:21:05Z","updated_at":"2017-03-06T14:21:05Z","closed_at":null,"body":"In 3D, `pickPosition` will return a position when hovering over the globe.  In 2D and CV, it's the result is always `undefined`\r\n\r\n``` javascript \r\nvar viewer = new Cesium.Viewer('cesiumContainer', {\r\n    sceneMode: Cesium.SceneMode.SCENE2D\r\n});\r\n\r\n// Mouse over the globe to see the cartographic position\r\nvar handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);\r\nhandler.setInputAction(function(movement) {\r\n    var cartesian = viewer.scene.pickPosition(movement.endPosition);\r\n    if (!Cesium.defined(cartesian)) {\r\n      console.log('undefined');\r\n    }\r\n}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);\r\n```"}}
{"actor":{"display_login":"hpinkos"}}