interface UniqueValueRendererJson {
    authoringInfo?: AuthoringInfoJson;
    backgroundFillSymbol?: PolygonSymbol3DJson;
    defaultLabel?: string;
    defaultSymbol?: SymbolJson;
    field1: string;
    field2?: string;
    field3?: string;
    fieldDelimiter?: string;
    rotationExpression?: string;
    rotationType?: RotationJsonType;
    type: "uniqueValue";
    uniqueValueGroups?: UniqueValueGroupJson[];
    uniqueValueInfos?: UniqueValueInfoJson[];
    visualVariables?: VisualVariableJson[];
}

Hierarchy (view full)

Properties

authoringInfo?: AuthoringInfoJson

An object containing metadata about the authoring process for creating a renderer object. This allows the authoring clients to save specific overridable settings so that next time it is accessed via the UI, their selections are remembered. Non-authoring clients should ignore it.

backgroundFillSymbol?: PolygonSymbol3DJson

A SimpleFillSymbol used for polygon features. It can only be used for bivariate types and size rendering.

defaultLabel?: string

Default string for the default symbol used to draw unspecified values.

defaultSymbol?: SymbolJson

Symbol used when a value cannot be matched.

field1: string

String value specifying the first field used to render matching values.

field2?: string

String value specifying the second field used to render matching values.

field3?: string

String value specifying the third field used to render matching values.

fieldDelimiter?: string

String value inserted between values if multiple attribute fields are specified.

rotationExpression?: string

A constant value or an expression that derives the angle of rotation based on a feature attribute value. When an attribute name is specified, it's enclosed in square brackets.

rotationType?: RotationJsonType

String value (either geographic or arithmetic) which controls the origin and direction of rotation on point features. If the rotationType is defined as 'arithmetic', the symbol is rotated from East in a counter-clockwise direction where East is the 0� axis. If the rotationType is defined as 'geographic', the symbol is rotated from North in a clockwise direction where North is the 0� axis.

type

The type of renderer. See RendererJsonType.

uniqueValueGroups?: UniqueValueGroupJson[]

An array of uniqueValueGroup objects. If present, then uniqueValueGroups should be used in favor of uniqueValueInfos.

uniqueValueInfos?: UniqueValueInfoJson[]

An array of uniqueValueInfo objects. If uniqueValueGroups is present, then this property should be ignored during webmap reading. In the future, this property will be deprecated and eventually removed.

visualVariables?: VisualVariableJson[]

An array of visualVariable objects used for continuous color or size, simple, and unique values with feature opacity.