reset
  suspend fun MapboxMap.resetFeatureStates(sourceId: String, sourceLayerId: String? = null): Expected<String, None>
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
None or a string describing an error.
Parameters
source
The style source identifier.
source
The style source layer identifier (for multi-layer sources such as vector sources).