I am trying to capture an image from Cesium to use as on overlay on a 2d map. I am having trouble getting the points to line up when I place it on the other map. After some investigation seems that the rectangle isn’t quite right.
Here is the example I have.
Two problems I have run into:
Camera.switchToOrthographicFrustum()throws an error.
setViewleaves a border around the rectangle.
Any ideas on how to get the camera set up so that it exactly captures the rectangle?