API / geotoolkit / map / util / ArcGISTypes
Type Aliases
Type Aliases
Ƭ CalculatedExpression: (attr: Attributes) => number
▸ (attr): number
CalculatedExpression is function type to calculate value based on feature attributes
| Name | Type |
|---|---|
attr | Attributes |
number
Ƭ ClassBreaksRenderer: Object
ClassBreaksRenderer defines the symbol of each feature in a Layer based on the value of a numeric attribute. Symbols are assigned based on classes or ranges of data. Each feature is assigned a symbol based on the class break in which the value of the attribute falls.
| Name | Type |
|---|---|
attributeField? | string |
calcExpression? | CalculatedExpression |
classBreakInfos? | { classMaxValue?: number ; classMinValue?: number ; label?: string ; symbol?: Symbol }[] |
defaultLabel? | string |
defaultSymbol? | Symbol |
field? | string |
label? | string |
minValue? | number |
rotationExpression? | string |
rotationType? | "arithmetic" | "geographic" |
type? | "classBreaks" |
valueExpression? | string |
Ƭ Font: Object
The font used to display 2D text symbols. This class allows the developer to set the font's family, size, style, and weight properties.
| Name | Type |
|---|---|
family? | string |
size? | number |
style? | string |
weight? | number |
Ƭ LayerType: Object
Layers contains geographic data which are used to make conforming maps.
Ƭ Outline: Object
Outline is basic type for linestyle
| Name | Type |
|---|---|
color? | string | number[] |
style? | "esriSLSDash" | "esriSLSDashDot" | "esriSLSDashDotDot" | "esriSLSDot" | "esriSLSSolid" |
width? | number |
Ƭ Pattern: "esriSFSSolid" | "esriSFSNull" | "esriSFSHollow" | "esriSFSHorizontal" | "esriSFSVertical" | "esriSFSForwardDiagonal" | "esriSFSBackwardDiagonal" | "esriSFSCross" | "esriSFSDiagonalCross"
Simple fill symbol pattern type
Ƭ Renderer: SimpleRenderer | UniqueValueRenderer | ClassBreaksRenderer | VectorFieldRenderer
Renderers define how to visually represent each feature.
Ƭ SimpleRenderer: Object
SimpleRenderer renders all features in a Layer with one Symbol
| Name | Type |
|---|---|
label? | string |
rotationExpression? | string |
rotationType? | "arithmetic" | "geographic" |
symbol? | Symbol |
type? | "simple" |
Ƭ Symbol: Outline & { contentType?: string ; height?: number ; imageData?: string ; outline?: Outline ; size?: number ; style?: "esriSMSSquare" | "esriSMSCircle" | "esriSMSCross" | "esriSMSDiamond" | "esriSMSTriangle" | "esriSMSX" | Pattern ; type: "esriSMS" | "esriPMS" | "esriSFS" | "esriPFS" | "esriSLS" ; url?: string ; xoffset?: number ; yoffset?: number }
Symbol is the base class for all symbols. Symbols represent point, line, polygon, and mesh geometries.
Ƭ TextSymbol: Object
Text symbols are used to define the graphic for displaying labels on a FeatureLayer, CSVLayer, Sublayer, and StreamLayer in a 2D map.
| Name | Type |
|---|---|
backgroundColor? | string | number[] |
borderLineColor? | string | number[] |
borderLineSize? | number |
color? | string | number[] |
font? | Font |
haloColor? | string | number[] |
haloSize? | number |
labelPlacement? | string |
Ƭ UniqueValueRenderer: VisualVariable & { calcExpression?: CalculatedExpression ; defaultLabel?: string ; defaultSymbol?: Symbol ; field1?: string ; field2?: string ; field3?: string ; fieldDelimiter?: string ; type?: "uniqueValue" ; uniqueValueInfos?: { label?: string ; symbol?: Symbol ; value?: string }[] ; valueExpression?: string ; visualVariables?: VisualVariable[] }
UniqueValueRenderer allows user to symbolize features in a Layer based on one or more categorical attributes. This is typically done by using unique colors, fill styles, or images to represent features with equal values in a string field.
Ƭ VectorFieldRenderer: Object
VectorFieldRenderer allows user to display your raster data with vector symbols. This renderer is often used for visualizing flow direction and magnitude information in meteorology and oceanography raster data.
| Name | Type |
|---|---|
attributeField? | string |
style? | string |
type? | "vectorField" |
Ƭ VisualVariable: Object
Visual variables are objects that allow you to override one or more properties of a renderer's symbols based on a numeric data value returned from a field or an expression.
| Name | Type |
|---|---|
field? | string |
maxDataValue? | number |
maxSize? | number |
minDataValue? | number |
minSize? | number |
normalizationField? | string |
rotationExpression? | string |
rotationType? | "arithmetic" | "geographic" |
stops? | { color?: string ; size?: number ; transparency?: number ; value: number }[] |
type? | string |
valueExpression? | string |