setFeatureState

Sets the state map for given featuresetFeature coming from an interaction callback asynchronously.

Return

the optional error wrapped in Expected.

Parameters

featuresetFeature

the featureset feature coming from an interaction callback or queryRenderedFeatures.

state

describes the new state of the map for given featuresetFeature.