You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
682 B
5 lines
682 B
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define("exports ../../geometry ../../request ../utils ../operations/trimExtend ../support/TrimExtendParameters ../../geometry/Polyline".split(" "),function(c,q,e,d,f,g,h){c.trimExtend=async function(b,a,k){a=g.from(a);const l=f.trimExtendToRESTParameters(a);b=d.parseUrl(b);const m=a.sr;a=d.asValidOptions({...b.query,f:"json",...l},k);return e(b.path+"/trimExtend",a).then(({data:n})=>(n.geometries||[]).map(({paths:p})=>new h({spatialReference:m,paths:p})))};Object.defineProperty(c,Symbol.toStringTag, |
|
{value:"Module"})}); |