resetFeatureStates

Reset all the feature states within a style source.

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

Return

the optional error wrapped in Expected.

Parameters

descriptor

TypedFeaturesetDescriptor object representing either a featureset or a single layer.