resetFeatureStates

abstract fun <FS : FeatureState> FeaturesetFeature<FS>.resetFeatureStates(callback: FeatureStateOperationCallback = FeatureStateOperationCallback { }): Cancelable

Reset all the feature states within a style source.

Remove all feature state entries from the specified style source or source layer.

Return

A Cancelable object that could be used to cancel the pending operation.

Parameters

callback

The FeatureStateOperationCallback called when the operation completes or ends.