SimpleRenderer class final

A simple renderer uses a single ArcGISSymbol to draw all features and graphics.

The same symbol is used for all graphics in a graphics overlay and all features in a feature layer, regardless of their attribute values.

Inheritance

Constructors

SimpleRenderer({ArcGISSymbol? symbol})
Creates a new simple renderer with the given symbol.
factory

Properties

description String
The description of this renderer.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String
The renderer's label.
getter/setter pair
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
symbol ArcGISSymbol?
The symbol of this renderer.
getter/setter pair

Methods

clone() Renderer
Clones the Renderer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
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<String, 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