getFeatureState method

Future<String> getFeatureState(
  1. String sourceId,
  2. String? sourceLayerId,
  3. String featureId
)

Gets the state map of a feature within a style source.

Note that updates to feature state are asynchronous, so changes made by other methods might not be immediately visible.

Implementation

Future<String> getFeatureState(
        String sourceId, String? sourceLayerId, String featureId) =>
    _mapInterface.getFeatureState(sourceId, sourceLayerId, featureId);