reset Feature States
abstract fun resetFeatureStates(sourceId: String, sourceLayerId: String? = null, callback: 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
source Id
The style source identifier.
source Layer Id
The style source layer identifier (for multi-layer sources such as vector sources).
callback
The feature state operation callback called when the operation completes or ends.