setFeatureStateForFeaturesetDescriptor method
- @experimental
- FeaturesetDescriptor featureset,
- FeaturesetFeatureId featureId,
- FeatureState state
Update the state map of a feature within a featureset.
Update entries in the state map of a given feature within a style source. Only entries listed in the state map
will be updated. An entry in the feature state map that is not listed in state
will retain its previous value.
Implementation
@experimental
Future<void> setFeatureStateForFeaturesetDescriptor(
FeaturesetDescriptor featureset,
FeaturesetFeatureId featureId,
FeatureState state) =>
_mapInterface.setFeatureStateForFeaturesetDescriptor(
featureset, featureId, state.map);