setFeatureState method

Future<void> setFeatureState(
  1. String sourceId,
  2. String? sourceLayerId,
  3. String featureId,
  4. String state,
)

Updates entries in the state map of a feature within a style source.

Implementation

Future<void> setFeatureState(
  String sourceId,
  String? sourceLayerId,
  String featureId,
  String state,
) => _impl.setFeatureState(sourceId, sourceLayerId, featureId, state);