# Polyline Flickr if Camera moved

**URL:** <https://community.cesium.com/t/polyline-flickr-if-camera-moved/17805>\
**Category:** CesiumJS\
**Created:** [March 22, 2022, 8:42am UTC](https://community.cesium.com/t/polyline-flickr-if-camera-moved/17805 "2022-03-22T08:42:11Z")\
**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:** [March 22, 2022, 8:42am UTC](https://community.cesium.com/t/polyline-flickr-if-camera-moved/17805/1 "2022-03-22T08:42:11Z")

</div>

Hi,

in the standard sandcastle for Polylines

> **[Cesium Sandcastle](https://sandcastle.cesium.com/#c=tVZbb9owGP0rn3hiEg0JJetGabWNTn3pClqrTVrTB5O4iVXHX2Q7IDr1v89OSAiCXlJ1EkT2dzv2Ob6FKJSG8CHlcAI3gQD4az8ALBpB0IkwzFMqdNDplWZBUmodkz8/LuCcYkq1ZFSNYIZ8xZmgdeSCSsVQ2GDPcdfmx94OhKTRRTOvQvhJI7AFIeQkzUxHI2gqCRN1aLbGHFUVrUkxbWBVwwYQEqkxliRLWHhGY0ntiG8OjvweHJq/24MDb1B1bntV4mPdSomBZoRvVVXIWTRBjnLLbOD22ABkPCcGdeCXiOZnmhuwbcBme9NaskgnI/BrQ8HNNZ5LzIVhU8ucrn2PT/E95zndS/g5xyUTMdiAknkUoBMKKpd3JKTvS/tRk/ajNrRX8Ha8bYj3XAPoDT8b3i3gs+QDxKb6DJfUlHOdwZZLk4zK2ue/TjPPfUkYlETEe6SpCgWdaRFRarNkOjFSkfAeMNeFiWhIKIsTDUREcId8Leh/09BS6buuuxGytrRWc1pOovVO8j76L+8lqDiaPFfPfdW+rGv9LoUdtNuzT8qf5TLj+3fmrHABkRKXG5XfVcvhYQ8K4WotN5bWWn61A221NYefSuI97w2nIpHh9SormLqcXn6veWmx9yKikifuoW/2OCz9sHXBvQvt/g7t/ptpPzODbMN6udI3nzfdRcMdam+PAxGIsHhYLBg1x6R5Wgi6hAlVLE+dX4WtG3TCoj9Boc2lTmXQ+XBc5UVEkyvMZUhnElOmqCmxTp+Yt8pZ7XY4kqhr3y82uYRzNtnKIVHU3anWiH1ATK9xf0ggOr3OWOkVp6fVtL+wNEOpIZe86zh9TdOMG1FUf56H91Q7oVI21YaO+83UccQWZrWd7Jm3vcaVMp67nPMr9mDW2Om4b+J3Uu1szZE+NY8rTlY2LPFOL0qj4zjjvunuz9SIfE5ko3IZ8Q8)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

the “Blue dashed line” is flickering if I move to the left or right. You can see this, because the line end/start changes. If I zoom in/out I think the flickering isn’t so strong but still there - my customer doesn’t like this behaaviour, any ideas/tips to change.

Regards

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:** [April 1, 2022, 5:34pm UTC](https://community.cesium.com/t/polyline-flickr-if-camera-moved/17805/2 "2022-04-01T17:34:18Z")

</div>

Hi @Ruediger_Brand,

Thanks for reaching out with your question! I also appreciate that you took the time to send over a sandcastle demo.

I took some time to play around with the sandcastle demo that you shared. I am not sure if I was able to fully reproduce the visual artifacts that you noticed.

 ![image](https://global.discourse-cdn.com/cesium/original/2X/c/c65247933ea865dc8a4120b68bbb8c424aaff6b3.jpeg)

If possible, could you share a screenshot of what you are seeing? In addition, providing information on your system (operating system, browser, etc.) would be very helpful.

-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:** [April 2, 2022, 10:02am UTC](https://community.cesium.com/t/polyline-flickr-if-camera-moved/17805/3 "2022-04-02T10:02:56Z")

</div>

Hi Sam,

you see the flickr if you move with the mouse - the line endings are changed, there is a “running effect” at the line:

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

In the screenshot you see that in the dashed polyline the line endings chang if you move the map

In cases where we have a different pattern the “running effect” is very disturbing.

Regards

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:** [April 5, 2022, 2:26pm UTC](https://community.cesium.com/t/polyline-flickr-if-camera-moved/17805/4 "2022-04-05T14:26:06Z")

</div>

Hi @Ruediger_Brand,

I appreciate the screenshots. They definitely help clarify the issue that you are seeing.

I don’t know of a quick fix to this using our API. I recommend opening an issue on our GitHub page that outlines this problem for our CesiumJS squad to take a look at. Be sure to check if there are any other GitHub issues for similar problems and feel free to reference this thread when creating your ticket.

> **[Issues · CesiumGS/cesium](https://github.com/CesiumGS/cesium/issues)**
>
> An open-source JavaScript library for world-class 3D globes and maps :earth\_americas: - Issues · CesiumGS/cesium

Best,  
Sam
