getFeatureStateForFeaturesetDescriptor method
- FeaturesetDescriptor featureset,
- FeaturesetFeatureId featureId
Gets the state map of a feature within a featureset.
Requirements for featureId:
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?>> getFeatureStateForFeaturesetDescriptor(
FeaturesetDescriptor featureset,
FeaturesetFeatureId featureId,
) => _impl.getFeatureStateForFeaturesetDescriptor(featureset, featureId);