require(["esri/geometry/operators/unionOperator"], (unionOperator) => { /* code goes here */ });
import * as unionOperator from "@arcgis/core/geometry/operators/unionOperator.js";
esri/geometry/operators/unionOperator
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]);