featureReduction property
Defines properties for dynamically aggregating and summarizing groups of features as the map scale or visible extent changes.
FeatureReduction is only supported for point feature layers in dynamic rendering mode (FeatureRenderingMode.dynamic) in 2D. The following conditions will generate a LayerViewState error and will result in the layer rendering the original features.
- A FeatureLayer that uses static rendering mode is enabled with FeatureReduction.
- A FeatureLayer enabled with FeatureReduction is added to an ArcGISScene (or an ArcGISScene that contains such a layer is loaded).
- An unsupported renderer is used as the AggregationFeatureReduction.renderer. See AggregationFeatureReduction.renderer for more info.
If this property is explicitly set to null, FeatureReduction is removed from the FeatureLayer and is not persisted when saving the map.
Implementation
FeatureReduction? get featureReduction => _featureReduction.value;
Implementation
set featureReduction(FeatureReduction? value) =>
_featureReduction.value = value;