SampledPositionProperty has a removeSamples method. No way to empty it?
Hi yitoulaohu. Welcome to the Cesium community.
SampledPositionProperty does have a removeSamples method that can remove samples within a time range. Depending on how this is used, you could also consider making a new SampledPositionProperty
instead of trying to empty an existing object. If that doesn’t work for you, could you provide more information about your use case?
I’m also moving this to the CesiumJS category since it isn’t a Cesium ion specific question.