DictionaryRenderer class final

Renders geoelements using symbols generated from a DictionarySymbolStyle.

The dictionary renderer applies symbols to features or graphics according to a set of input attribute values. The symbol primitives and logic (rule engine) for applying symbols is provided by an associated DictionarySymbolStyle.

The DictionarySymbolStyle depends on attribute names to define the symbology of each feature. The attributes reference different symbol components in the style, which are assembled to create a complex symbol. In order to display geoelements using the dictionary renderer, attributes in your data must either use the expected attribute names or be mapped to the proper style attributes.

Inheritance

Constructors

DictionaryRenderer({required DictionarySymbolStyle dictionarySymbolStyle, Map<String, String> symbologyFieldOverrides = const {}, Map<String, String> textFieldOverrides = const {}})
Creates a new dictionary renderer object.
factory

Properties

dictionarySymbolStyle DictionarySymbolStyle
The dictionary symbol style to be applied by the renderer.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rotationExpression String
The expression describing how attributes values are translated into a rotation to be applied to the GeoElement.
getter/setter pairinherited
rotationType RotationType
Indicates whether the rotation calculated from the Renderer.rotationExpression is interpreted as arithmetic or geographic.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleExpression ArcadeExpression?
An arcade expression object with an expression for scaling symbols in a dictionary renderer.
getter/setter pair
sceneProperties RendererSceneProperties
The scene view properties for the renderer.
getter/setter pairinherited
symbologyFieldOverrides Map<String, String>
The map of a symbology attribute and its override used to fetch a symbol from the dictionary symbol style.
no setter
textFieldOverrides Map<String, String>
The map of a text attribute and its override used to fetch symbol text and placement from the dictionary symbol style.
no setter

Methods

clone() Renderer
Clones the Renderer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
symbolForDynamicEntity(DynamicEntity dynamicEntity, {bool applyAttributeOverrides = false}) ArcGISSymbol?
Returns the symbol that is used to visualize the given dynamic entity with override attributes from the renderer.
inherited
symbolForDynamicEntityObservation(DynamicEntityObservation dynamicEntityObservation, {bool applyAttributeOverrides = false}) ArcGISSymbol?
Returns the symbol that is used to visualize the given dynamic entity observation with override attributes from the renderer.
inherited
symbolForFeature({required Feature feature, bool applyAttributeOverrides = false}) ArcGISSymbol?
Returns the symbol that is used to visualize the given feature with override attributes from the renderer.
inherited
symbolForGraphic({required Graphic graphic, bool applyAttributeOverrides = false}) ArcGISSymbol?
Returns the symbol that is used to visualize the given graphic with override attributes from the renderer.
inherited
toJson() Map<CaseInsensitiveString, dynamic>
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
toJsonString() String
Returns a JSON representation of this Object as a String.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited