UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 519 B
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import{execute as e,executeMany as t}from"../gx/operatorUnion.js";import{fromGeometry as o,toGeometry as r,fromGeometryToGXGeometry as n,fromGeometries as s}from"../support/jsonConverter.js";function c(t,s){const c=o(t),p=c.getSpatialReference();return r(e(c.getGeometry(),n(s),p),p)}function p(e){const[o,n]=s(e);return r(t(o,n),n)}export{c as execute,p as executeMany};