set Feature State
suspend fun <FS : FeatureState> setFeatureState(featuresetFeature: FeaturesetFeature<FS>, state: FS): Expected<String, None>
Sets the state map for given featuresetFeature coming from an interaction callback asynchronously.
Return
the optional error wrapped in Expected.
Parameters
featureset Feature
the featureset feature coming from an interaction callback or queryRenderedFeatures.
state
describes the new state of the map for given featuresetFeature.