Types
import type { RendererType, NormalizationType, ClassificationMethod, SizeVariableAxis, SizeVariableRepresentation } from "@arcgis/core/renderers/types.js";

Type definitions

RendererType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
RendererUnion["type"]

NormalizationType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"field" | "log" | "percent-of-total" | "natural-log" | "square-root"

ClassificationMethod

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"equal-interval" | "manual" | "natural-breaks" | "quantile" | "standard-deviation" | "defined-interval"

SizeVariableAxis

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"width" | "depth" | "height" | "width-and-depth" | "all"

SizeVariableRepresentation

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"radius" | "diameter" | "area" | "width" | "distance"

SizeVariableUnit

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"unknown" | "inches" | "feet" | "yards" | "miles" | "nautical-miles" | "millimeters" | "centimeters" | "decimeters" | "meters" | "kilometers"

VisualVariable

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

VisualVariableType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
VisualVariable["type"]

VisualVariableLegendOptions

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

title

Property
Type
string | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The title used to represent the age size ramp in the Legend.

showLegend

Property
Type
boolean | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

Indicates if the Legend should display content describing the generated renderer.

GetSymbolOptions

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Supertypes
AbortOptions

scale

Property
Type
number | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The view scale at which the graphic is displayed.

viewingMode

Property
Type
string | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The SceneView.viewingMode of the view, if the graphic is displayed in a SceneView.

spatialReference

Property
Type
SpatialReference | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The spatial reference of the view in which the graphic is displayed.

GetVisualVariableValuesOptions

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Supertypes
GetSymbolOptions

resolution

Property
Type
number | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The MapView.resolution of the view at which the graphic is displayed.

GetDisplaySymbolOptions

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

renderer

Property
Type
RendererUnion | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The renderer of the layer associated with the graphic.

webStyleAcceptedFormats

Property
Type
WebStyleAcceptedFormat[] | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

A list of accepted formats when resolving web style symbols. The symbol will resolve to the first accepted format in the list.

Default value
["web", "cim"]

VectorFieldStyles

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"beaufort-ft" | "beaufort-km" | "beaufort-kn" | "beaufort-m" | "beaufort-mi" | "classified-arrow" | "ocean-current-kn" | "ocean-current-m" | "simple-scalar" | "single-arrow" | "wind-barb"

RelationshipNumClasses

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
2 | 3 | 4

DictionaryUserConfig

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Supertypes
Object

DictionaryFieldMap

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Supertypes
Record<string‚ string>

DictionaryConfigItem

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

RendererWithVisualVariablesUnion

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

Union of all renderers with visual variables.

RendererUnion

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

Union of renderers.