Property Renderer
Renderer
Gets or sets the symbology for displaying aggregated geoelements.
Declaration
public Renderer Renderer { get; set; }
Property Value
Type | Description |
---|---|
Renderer | The symbology for displaying aggregated geoelements. |
Remarks
Only SimpleRenderer, UniqueValueRenderer, and ClassBreaksRenderer are currently supported for 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 FeatureLayer or original graphics from the GraphicsOverlay are drawn using Renderer or Renderer respectively. In the case of FeatureLayer, a LayerViewState will contain an error indicating the use of an unsupported renderer. Also note, AggregationFeatureReduction.Renderer is independent of FeatureLayer.Renderer and GraphicsOverlay.Renderer.
If you want to symbolize aggregate geoelements using the same symbology used by the FeatureLayer or GraphicsOverlay, you may clone FeatureLayer.Renderer or GraphicsOverlay.Renderer and set it here. You can also create a new renderer of a supported type. If you create a new SimpleRenderer, aggregate geoelements will display with the 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, aggregate geoelements will draw using DefaultSymbol or DefaultSymbol. If there is no default symbol defined, aggregate geoelements will not draw.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |