# get view rectangle issue

**URL:** <https://community.cesium.com/t/get-view-rectangle-issue/5381>\
**Category:** CesiumJS\
**Created:** [April 6, 2017, 12:06pm UTC](https://community.cesium.com/t/get-view-rectangle-issue/5381 "2017-04-06T12:06:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kfirbene](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@kfirbene](https://community.cesium.com/u/kfirbene)\
**Post date:** [April 6, 2017, 12:06pm UTC](https://community.cesium.com/t/get-view-rectangle-issue/5381/1 "2017-04-06T12:06:05Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kfirbene](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@kfirbene](https://community.cesium.com/u/kfirbene)\
**Post date:** [April 9, 2017, 12:38pm UTC](https://community.cesium.com/t/get-view-rectangle-issue/5381/2 "2017-04-09T12:38:56Z")

</div>

Hi,

Did anyone had a chance to look at this issue?

Still not solved.

Thanks.

---

<div class="post-metadata">

**Author:** ![Rachel\_Hwang](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rachel\_Hwang](https://community.cesium.com/u/Rachel_Hwang)\
**Post date:** [April 11, 2017, 5:58pm UTC](https://community.cesium.com/t/get-view-rectangle-issue/5381/3 "2017-04-11T17:58:02Z")

</div>

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](https://github.com/AnalyticalGraphicsInc/cesium/issues/4346)

Best,

- Rachel
