get view rectangle issue

Hi,

I am trying to get the view rectangle using:

var resultRectangle = new Cesium.Rectangle();

myScene.camera.computeViewRectangle(Cesium.Ellipsoid.WGS84, resultRectangle );

When I am in 3D all works well, but in 2D/Columbus_View I am getting back zeros on all corners.

How can I get it to work in 2D and Columbus_View?

Thanks.

Hi,

Did anyone had a chance to look at this issue?

Still not solved.

Thanks.

Hi there,

Unfortunately we haven’t gotten to this yet, but we do have an open issue for it. I’ll link to this post so we can notify you when its fixed.

https://github.com/AnalyticalGraphicsInc/cesium/issues/4346

Best,

  • Rachel