removeFeatureStateForFeaturesetFeature method

Future<void> removeFeatureStateForFeaturesetFeature({
  1. required FeaturesetFeature feature,
  2. String? stateKey,
})

Removes entries from a feature state object.

Requirements for the feature's id: On web, GeoJSON feature ids must be a numeric string — GL JS's internal vector-tile pipeline only supports integer feature ids.

Implementation

Future<void> removeFeatureStateForFeaturesetFeature({
  required FeaturesetFeature feature,
  String? stateKey,
}) => _impl.removeFeatureStateForFeaturesetFeature(
  feature: feature,
  stateKey: stateKey,
);