# how to limit viewer coordinates

**URL:** <https://community.cesium.com/t/how-to-limit-viewer-coordinates/5417>\
**Category:** CesiumJS\
**Created:** [April 18, 2017, 11:05am UTC](https://community.cesium.com/t/how-to-limit-viewer-coordinates/5417 "2017-04-18T11:05:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zushe](https://avatars.discourse-cdn.com/v4/letter/z/53a042/32.png) [@zushe](https://community.cesium.com/u/zushe)\
**Post date:** [April 18, 2017, 11:05am UTC](https://community.cesium.com/t/how-to-limit-viewer-coordinates/5417/1 "2017-04-18T11:05:42Z")

</div>

b.h.

,Hello

How can i constrict the camera so that it can not look outside of a certain area?

I read in old answers (2 years ago) that there is no support for this requirement, is there anything new about it?

thanks in advance

---

<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 18, 2017, 6:45pm UTC](https://community.cesium.com/t/how-to-limit-viewer-coordinates/5417/2 "2017-04-18T18:45:22Z")

</div>

Hi there,

Unfortunately, we haven’t gotten to this one yet, but we have an issue for it. I’ll link to your forum post so we can update you when we get a chance to handle it.

[https://github.com/AnalyticalGraphicsInc/cesium/issues/4802](https://github.com/AnalyticalGraphicsInc/cesium/issues/4802)

Best,

- Rachel

---

<div class="post-metadata">

**Author:** ![zushe](https://avatars.discourse-cdn.com/v4/letter/z/53a042/32.png) [@zushe](https://community.cesium.com/u/zushe)\
**Post date:** [April 19, 2017, 7:32am UTC](https://community.cesium.com/t/how-to-limit-viewer-coordinates/5417/3 "2017-04-19T07:32:13Z")

</div>

Thanks

בתאריך יום שלישי, 18 באפריל 2017 בשעה 21:45:23 UTC+3, מאת Rachel Hwang:

---

<div class="post-metadata">

**Author:** ![zushe](https://avatars.discourse-cdn.com/v4/letter/z/53a042/32.png) [@zushe](https://community.cesium.com/u/zushe)\
**Post date:** [May 16, 2017, 12:30pm UTC](https://community.cesium.com/t/how-to-limit-viewer-coordinates/5417/4 "2017-05-16T12:30:08Z")

</div>

:I found a workaround to return the camera to the first location, if it moved out of given radius

[![](https://lh3.googleusercontent.com/-0uX9UlV4j9U/WRrwkF8lytI/AAAAAAAAAAM/qlb3dA_OeLQYaxy6qpGHlX1QtvUhjYwZQCLcB/s320/Screen%2BShot%2B2017-05-16%2Bat%2B15.26.54.png)](https://lh3.googleusercontent.com/-0uX9UlV4j9U/WRrwkF8lytI/AAAAAAAAAAM/qlb3dA_OeLQYaxy6qpGHlX1QtvUhjYwZQCLcB/s1600/Screen%2BShot%2B2017-05-16%2Bat%2B15.26.54.png)

Maybe it would help someone else also
