reset Feature States
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.
Return
None or a string describing an error.
Parameters
source Id
The style source identifier.
source Layer Id
The style source layer identifier (for multi-layer sources such as vector sources).