Constructor ClusteringFeatureReduction
ClusteringFeatureReduction(Renderer)
Initializes a new instance of the ClusteringFeatureReduction class using the given renderer and default values for min size, max size and radius of the cluster.
Declaration
public ClusteringFeatureReduction(Renderer renderer)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer | The renderer for drawing clustered geoelements. |
Remarks
Only SimpleRenderer, UniqueValueRenderer, and ClassBreaksRenderer
are currently supported for AggregationFeatureReduction.Renderer.
UniqueValueRenderer with multiple fields is not supported. If the renderer passed is not one of the
supported renderer types listed above then original features from the
If you want to symbolize clusters using the same symbology used by the FeatureLayer or GraphicsOverlay, you may clone Renderer or Renderer and set it here. You can also create a new renderer of a supported type. If you create a new SimpleRenderer, clusters will draw using symbol defined for the SimpleRenderer. If the new renderer is of type ClassBreaksRenderer or UniqueValueRenderer, the field name on the renderer must match one of the AggregateField in AggregateFields. If this field is not found in AggregateFields, clusters will draw using DefaultSymbol or DefaultSymbol. If there is no default symbol defined, clusters will not draw.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.6 |
.NET | 200.3 - 200.6 |
.NET Windows | 200.3 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.3 - 200.6 |
.NET Framework | 200.3 - 200.6 |
UWP | 200.3 - 200.6 |