setFeatureStateForFeaturesetFeature method
- FeaturesetFeature feature,
- FeatureState state
Updates the state map of an individual feature.
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> setFeatureStateForFeaturesetFeature(
FeaturesetFeature feature,
FeatureState state,
) => _impl.setFeatureStateForFeaturesetFeature(feature, state);