reset Feature States
Reset all the feature states within a style source.
Remove all feature state entries from the specified style source or source layer.
Note that updates to feature state are asynchronous, so changes made by this method might not be immediately visible using getStateFeature
.
Return
A cancelable
object that could be used to cancel the pending operation.
Parameters
The style source identifier.
The style source layer identifier (for multi-layer sources such as vector sources).
The feature state operation callback
called when the operation completes or ends.
Reset all the feature states within a style source.
Remove all feature state entries from the specified style source or source layer.
Note that updates to feature state are asynchronous, so changes made by this method might not be immediately visible using getFeatureState.
Return
A Cancelable object that could be used to cancel the pending operation.
Parameters
FeaturesetHolder object representing either a featureset or a single layer.
The FeatureStateOperationCallback called when the operation completes or ends.