UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 623 B
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import{makeFeatureFromGroupPart as t}from"./support/builderUtils.js";import{convertToTwoPoint as o}from"./support/shapeUtils.js";import{isPolyline as s,maxDigitizingDisplayEdits as e}from"../support/executorUtils.js";function i({templatePart:i,shape:r,edits:p,relationships:a,mode:m}){if(!s(r))return;const n=o(r);for(const o of n){if("digitizing"===m&&p.length>e)break;t({templatePart:i,shape:o,edits:p,relationships:a,mode:m})}}const r=!1;export{i as execute,r as isAsync};