unionTypes

AMD: require(["esri/unionTypes"], (unionTypes) => { /* code goes here */ });
ESM: import * as unionTypes from "@arcgis/core/unionTypes.js";
Object: esri/unionTypes
Since: ArcGIS Maps SDK for JavaScript 4.32

A module for importing union types for use in TypeScript.

Type Definitions

FillSymbol2DUnion

Type Definition
FillSymbol2DUnion PictureFillSymbol |SimpleFillSymbol

Union of 2D fill symbols.

GeometryUnion

Type Definition
GeometryUnion Extent |Multipoint |Point |Polygon |Polyline |Mesh

Union of all geometries.

MarkerSymbol2DUnion

Type Definition
MarkerSymbol2DUnion PictureMarkerSymbol |SimpleMarkerSymbol

Union of 2D marker symbols.

PointCloudRendererUnion

Type Definition
PointCloudRendererUnion PointCloudClassBreaksRenderer |PointCloudRGBRenderer |PointCloudStretchRenderer |PointCloudUniqueValueRenderer

Union of point cloud renderers.

Union of raster renderers.

RendererUnion

Type Definition
RendererUnion HeatmapRenderer |RendererWithVisualVariablesUnion

Union of renderers.

RendererWithVisualVariablesUnion

Type Definition
RendererWithVisualVariablesUnion SimpleRenderer |ClassBreaksRenderer |UniqueValueRenderer |DotDensityRenderer |DictionaryRenderer |PieChartRenderer

Union of renderers with visual variables.

Symbol2D3DUnion

Type Definition
Symbol2D3DUnion Symbol2DUnion |Symbol3DUnion

Union of 2D and 3D symbols.

Union of 2D symbols.

Union of 3D symbol layers.

Symbol3DUnion

Type Definition
Symbol3DUnion LabelSymbol3D |LineSymbol3D |MeshSymbol3D |PointSymbol3D |PolygonSymbol3D

Union of 3D symbols.

SymbolUnion

Type Definition
SymbolUnion Symbol2D3DUnion |WebStyleSymbol

Union of symbols.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close