Change polygon's height create a new polygon

i create a polygon by set hierarchy as a Cesium.CallbackProperty
when i change polygon’s height to 0 after 3 seconds
there is a new polygon created
is this a bug?or I didn’t use cesium.js properly?

In your callbackProperty, make it true which implies that the value is constant. That should solve the problem.

1 Like

@atul-sd

This is a great suggestion! @zxc1987 be sure to give this a try :grinning:

-Sam

1 Like

@atul-sd @sam.rothstein
yes,It works.
thank you all.

2 Likes

@zxc1987

Amazing! @atul-sd thank you very much for your input :pray:

-Sam

1 Like