getFeatureStateForFeaturesetFeature method

Future<Map<String, Object?>> getFeatureStateForFeaturesetFeature(
  1. FeaturesetFeature feature
)

Gets the state map of a 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<Map<String, Object?>> getFeatureStateForFeaturesetFeature(
  FeaturesetFeature feature,
) => _impl.getFeatureStateForFeaturesetFeature(feature);