Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

GISMapApp

Renderer

  • Last UpdatedApr 23, 2024
  • 2 minute read

Defines the way a feature is drawn in the map. There are four options: SimpleRenderer, ClassBreaksRenderer, UniqueValueRenderer, and GraphicRenderer.

SimpleRenderer

A simple renderer assigns a symbol based on the configuration.

The following table provides the specific configurable options for SimpleRenderer:

Property

Type

Description

symbol

SymbolObject

For more information, refer Symbol Object.

Type

simple

A Type of renderer.

visualVariables [Optional]

VisualVariable[]

Defines array of objects used to set marker properties depending on a feature field attribute value.

For more information, refer VisualVariable.

ClassBreaksRenderer

A class breaks renderer symbolizes based on the value of some numeric attribute. It assigns a symbol depending on the range in which this attribute value falls.

The following table provides the specific configurable options for ClassBreaksRenderer:

Property

Type

Description

classBreakInfos

ClassBreakInfo[]

Defines array of class breaks (range edges) and the symbol to use for values below them.

For more information, refer ClassBreakInfo.

defaultSymbol [Optional]

SymbolObject

Defines Symbol used when a value cannot be classified (is not part of specified ranges).

For more information, refer Symbol Object.

field

string

Defines attribute field used for renderer.

minValue

number

Defines minimum numeric data value needed to begin class breaks (ranges).

Type

classBreaks

A type of renderer.

visualVariables [Optional]

VisualVariable[]

Defines array of objects used to set marker properties depending on a feature field attribute value.

For more information, refer VisualVariable.

UniqueValueRenderer

Symbolizes features based on one or more matching string attributes.

The following table provides the specific configurable options for UniqueValueRenderer:

Property

Type

Description

defaultSymbol [Optional]

SymbolObject

Defines symbol used when a value cannot be matched.

For more information, refer Symbol Object.

field

string

Defines attribute field renderer uses to match values.

field2 [Optional]

string

If needed, specifies an additional attribute field the renderer uses to match values.

field3 [Optional]

string

If needed, specifies an additional attribute field the renderer uses to match values.

fieldDelimiter [Optional]

string

Defines string inserted between the values if multiple attribute fields are specified.

Default: ",""

Type

uniqueValue

A type of renderer.

uniqueValueInfos

UniqueValueInfo[]

Defines array of symbology configuration for each uniquely drawn value in the renderer.

For more information, refer UniqueValueInfo.

visualVariables [Optional]

VisualVariable[]

Array of objects used to set marker properties depending on a feature field attribute value.

For more information, refer VisualVariable.

GraphicRenderer

Uses Industrial Graphics to symbolize features with point geometries.

The following table provides the specific configurable options for GraphicRenderer:

Property

Type

Description

graphic

String

Defines Industrial Graphic name template. For instance symbols use tagname symbol. You can use {attribute} to insert a feature's field attribute value.

customProperties [Optional]

customProperties

Defines custom properties to set when displaying the Industrial Graphic

Below are the configurable options for CustomProperties:

isConstant (Boolean)

Specifies if the value is a constant or a reference.

Default: true

name (String)

Defines custom property name.

value (String)

Defines custom property value template. Use {attribute} to insert a feature's field attribute value.

Positioning [Optional]

Positioning

Defines how the Industrial Graphic is positioned with respect to its coordinates.

  • Values: "bottom-left" | "bottom-center" | "bottom-right" | "center-left" | "center-center" | "center-right" | "top-left" | "top-center" | "top-right"

type

graphic

A type of Renderer.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in