Entities pixel position

Hi,

I try to draw a line between an entity on Cesium Map and a custom element, like a card outside of Cesium Map with d3 library or another one. But i didn't found how get entity pixel position with Cesium API.

There is any solution ?

Thx

Hello,

We provide a function in SceneTransforms to convert a world coordinate to a screen coordinate.

See SceneTransforms.wgs84ToWindowCoordinates

Best,

Hannah

It's work ! Thx