Removing wms imagery and enteties with update


I stuck with removing wms layer from viewer and some entities.

Adding wms works:

But can’t remove later from viewer:

Removing entities also doesn’t work in my case (in fiddle link you will see slider range (primitive) and it should update position/height of watertable, it is working but it is not removing previous height).

doesn’t work:

but works:

Please talk about logic refreshing entities. It was planned replace this slider with real live data from some sensors.

Thanks in advance, appreciate your time.
Using now latest cesium 1.75
Relative newbie also part of this code isn’t mine (static version).

Remove wms now works:

1 Like