AMD:
require(["esri/geometry/operators/unionOperator"], (unionOperator) => { /* code goes here */ });
ESM:
import * as unionOperator from "@arcgis/core/geometry/operators/unionOperator.js";
Object:
esri/geometry/operators/unionOperator
Since: ArcGIS Maps SDK for JavaScript 4.31
beta
Perform a topological union (dissolve) operation on 2D geometries.
Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
Perform a topological union operation on two geometries. | unionOperator | ||
Perform a topological union operation on a geometry set. | unionOperator |
Method Details
-
Perform a topological union operation on two geometries.
ParametersReturnsExample// Return the union of two polygons const union = unionOperator.union([polygon1, polygon2]);