I add two entities in the viewer.
When I change the height reference of one of the entities.
Another entity will be affected.
Here’s a simple example of code.
I add two entities in the viewer.
When I change the height reference of one of the entities.
Another entity will be affected.
Here’s a simple example of code.
You might try using the setValue function instead of setting the property directly.
heightReference.setValue( ref );
Hi Scott,
Thanks for you reply. I use the setValue function, but the result is the same.
In my example, I don’t understand why I change the red polygon’s height reference, the green circle is also affected.
I just want to change the altitude type of one entity, not all entities.
I think this may be a bug.
I also find the outline’s altitude of green circle is incorrect.
Thanks for reporting this - I’m fairly certain this is a bug. I’ve added some notes to your GitHub issue here on where I think the issue may be: https://github.com/AnalyticalGraphicsInc/cesium/issues/8400