I am trying to use the Label.computeScreenSpacePosition function provided by the Cesium API to locate where certain labels are on the map.
This method is working fine when in SceneMode.SCENE3D, but when in SceneMode.SCENE2/2.5D I am getting inaccurate values.
The values I am getting back from SceneMode.SCENE2/2.5D are not accurate and one big indicator for this is sometimes the x coordinate value returned is larger than the window.innerWidth value. I am wondering if there is a different way to compute labels and billboards screenspace position when in 2D or 2.5D?
I am using Cesium 1.20