Is there a way to move the Polygon entity?

1. A concise explanation of the problem you're experiencing.

Is there a way to move the Polygon entity?
https://cesiumjs.org/Cesium/Build/Documentation/PolygonGraphics.html

I’ve made the function to move the point entity before, but no knowledge or idea to move the Polygon entity.

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

hi, this is an example for your question http://embed.plnkr.co/OaXj7euFYLXfKwZOmSMx/

Vào 12:30:47 UTC+7 Thứ Ba, ngày 11 tháng 6 năm 2019, max...@gmail.com đã viết:

Hi, thanks for the quick reply.
does it work properly??
it doesn't show any entities on my chrome...

2019年6月11日火曜日 15時27分05秒 UTC+9 Hieu Nguyen:

i dont know why demo does not working but code still work. let try insert function “disableCameraMotion” and function “movePolygon” to your code.

Vào 14:16:24 UTC+7 Thứ Ba, ngày 11 tháng 6 năm 2019, max...@gmail.com đã viết:

To move a polygon, you need to recompute the PolygonHeirarchy positions. This forum post has an example on doing this to rotate, but moving should be the same idea:

https://groups.google.com/d/msg/cesium-dev/udGbh3G4m2s/aNIgcunZBwAJ

OK, thanks.
And finally, I've made it!!!
moved the polygon entity!!
wooohoooo :)))))

2019年6月11日火曜日 16時42分09秒 UTC+9 Hieu Nguyen:

2019年6月13日木曜日 4時18分01秒 UTC+9 Omar Shehata:

To move a polygon, you need to recompute the PolygonHeirarchy positions. This forum post has an example on doing this to rotate, but moving should be the same idea:

https://groups.google.com/d/msg/cesium-dev/udGbh3G4m2s/aNIgcunZBwAJ

i dont know why demo does not working but code still work. let try insert function "disableCameraMotion" and function "movePolygon" to your code.

Vào 14:16:24 UTC+7 Thứ Ba, ngày 11 tháng 6 năm 2019, max...@gmail.com đã viết:Hi, thanks for the quick reply.

does it work properly??

it doesn't show any entities on my chrome...

2019年6月11日火曜日 15時27分05秒 UTC+9 Hieu Nguyen:

> hi, this is an example for your question http://embed.plnkr.co/OaXj7euFYLXfKwZOmSMx/

>

> Vào 12:30:47 UTC+7 Thứ Ba, ngày 11 tháng 6 năm 2019, max...@gmail.com đã viết:1. A concise explanation of the problem you're experiencing.

>

>

>

> Is there a way to move the Polygon entity?

>

> https://cesiumjs.org/Cesium/Build/Documentation/PolygonGraphics.html

>

>

>

> I’ve made the function to move the point entity before, but no knowledge or idea to move the Polygon entity.

>

>

>

>

>

> 2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

>

> ---

>

>

>

>

>

> 3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

>

> To make it easier to move the Polygon entity.

>

>

>

>

>

> 4. The Cesium version you're using, your operating system and browser.

>

>

>

> cesium@1.57.0

Thanks for the additional info!!