# requestRender force Update

**URL:** <https://community.cesium.com/t/requestrender-force-update/16412>\
**Category:** CesiumJS\
**Created:** [December 6, 2021, 4:17pm UTC](https://community.cesium.com/t/requestrender-force-update/16412 "2021-12-06T16:17:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruediger\_Brand](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ruediger_brand/32/4004_2.png) [@Ruediger\_Brand](https://community.cesium.com/u/Ruediger_Brand)\
**Post date:** [December 6, 2021, 4:17pm UTC](https://community.cesium.com/t/requestrender-force-update/16412/1 "2021-12-06T16:17:58Z")

</div>

Hi,

i have the following scenario:

1. Camera move
2. addEventlistener on moveEnd  
change entities  
removeAll (25)  
add (16 and 9)  
requestRender - only the first 16 are displayed

→ nothing happened or only parts are rendered

![image](https://global.discourse-cdn.com/cesium/original/2X/1/144722feb5fde432b2ac3a23882bdeab9ba0c177.png)

The console.logs are from the relevant parts in code esp. the entityCollectionchanged-Callback

The requestRender ist done after the console.log(“draw1K ready Draw”);

Could this be problems with asynchronous behaviour of …?  
Is there a way to recognize if the add is ready ?

Rüdiger

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [December 6, 2021, 5:15pm UTC](https://community.cesium.com/t/requestrender-force-update/16412/2 "2021-12-06T17:15:24Z")

</div>

Hi @Ruediger_Brand,

Thank you for providing some details on your implementation. I would like to learn a little bit more about your high-level goals and your use case. This information would help me work with you to find a robust solution.

Are you sure that you are using the correct `ScreenSpaceEventType`? Would `MOUSE_MOVE` be more appropriate here?

[https://cesium.com/learn/cesiumjs/ref-doc/global.html?classFilter=event#ScreenSpaceEventType](https://cesium.com/learn/cesiumjs/ref-doc/global.html?classFilter=event#ScreenSpaceEventType)

I am looking forward to learning more. Please do not hesitate to reach out with any other questions or concerns.

-Sam

---

<div class="post-metadata">

**Author:** ![Ruediger\_Brand](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ruediger_brand/32/4004_2.png) [@Ruediger\_Brand](https://community.cesium.com/u/Ruediger_Brand)\
**Post date:** [December 8, 2021, 4:19pm UTC](https://community.cesium.com/t/requestrender-force-update/16412/3 "2021-12-08T16:19:05Z")

</div>

@sam.rothstein

Hi Sam,

I have a 1k (kilometer) Grid to display.

The grid should update when the situation/scene/display (I don’t know the right word for this case) changes.

So in the moment I use the camera change/movement Events to update. Maybe I should use other events?

Rüdiger

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [December 8, 2021, 6:15pm UTC](https://community.cesium.com/t/requestrender-force-update/16412/4 "2021-12-08T18:15:24Z")

</div>

Hi @Ruediger_Brand,

I would recommend experimenting with other `ScreenSpaceEventType` objects. For your use case, it seems like `MOUSE_MOVE` would be appropriate.

-Sam
