Get a 2D position from a 3D coordinate on the Cesium globe.

Hi all,

Let say I want to add a div element on a particular position overlay on top of the 3D globe. If I got a 3D coordinate on the globe, how am I project the coordinate and retrieve the 2D screen position that corresponds to the 3D coordinate in Cesium?

Or at least where can I get the world, view, projection matrix in cesium?

Thank you.

Regards,
Dave

Dave,

See SceneTransforms.wgs84ToWindowCoordinates and perhaps Billboard.computeScreenSpacePosition and Label.computeScreenSpacePosition.

Patrick