# Cartographic values of my 2D map corners

**URL:** <https://community.cesium.com/t/cartographic-values-of-my-2d-map-corners/4183>\
**Category:** CesiumJS\
**Created:** [June 2, 2016, 11:05am UTC](https://community.cesium.com/t/cartographic-values-of-my-2d-map-corners/4183 "2016-06-02T11:05:50Z")\
**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:** [June 2, 2016, 11:05am UTC](https://community.cesium.com/t/cartographic-values-of-my-2d-map-corners/4183/1 "2016-06-02T11:05:50Z")

</div>

I am trying to get the values of the camera’s 4 corners in cartographic values.  
How can I get those values?

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [June 2, 2016, 1:17pm UTC](https://community.cesium.com/t/cartographic-values-of-my-2d-map-corners/4183/2 "2016-06-02T13:17:05Z")

</div>

Hello,

You can use the [Camera.computeViewRectangle](http://cesiumjs.org/Cesium/Build/Documentation/Camera.html?#computeViewRectangle) function to get the rectangle of the camera view. The corners are rectangle.northwest, rectangle.southwest, rectangle.southeast and rectangle.northeast.

Best,

Hannah

---

<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:** [June 2, 2016, 2:16pm UTC](https://community.cesium.com/t/cartographic-values-of-my-2d-map-corners/4183/3 "2016-06-02T14:16:48Z")

</div>

Hannah,

As usual, works like charm.

Thanks.
