Convert Lat/Long to screen X/Y pos

Hello, I am trying to calculate a screen X/Y pos from a longitude/latitude position, depending on the current camera view. Is that possible? My goal is to float an absolute positioned html div above the canvas globe pointing to a marker on the globe, and have its position change dynamically as the camera is moved (ie, user rotates the view).

Sorry, I should have searched the forum first before posting. Found it in some older posts: Cesium.SceneTransforms.wgs84ToWindowCoordinates

1 Like