Cesium select coordinates, how to calculate?

Cesium how to calculate the green box coordinates, I hope everyone can help

在 2017年6月5日星期一 UTC+8下午3:05:35,Junxiao Gao写道:

Hi there,

You seem to need picking functionality. See our code example here: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Picking.html&label=Showcases

You can use globe.pick to get the position on the ellipsoid intersecting with a ray (which you can compute from any canvas coordinates.

Hope that helps,

  • Rachel

Thank you very much, green box problem has been solved, but there is a new problem: when I convert to mobile function local coordinates of the left mouse button after no mouse wheel, failure model of amplification to a certain extent could not move, these problems have not been solved? Thank you

Hi Junxiao,

My apologies, I’m having some trouble understanding your issue. Could you post a code example showing the problem? Look at the “Sharing” section of this tutorial for instructions on how to generate a code gist with Sandcastle: http://cesiumjs.org/tutorials/Sandcastle-Tutorial/

Best,

  • Rachel

Thank you for your reply, the specific code of the above questions will be put up later. Now I would like to ask you about cesium+three.js development, three model jitter problem, how to solve, you have encountered such problems? Thank you

在 2017年6月7日星期三 UTC+8上午11:23:17,Junxiao Gao写道: