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
786 B
5 lines
786 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 ../../geometry/support/spatialReferenceUtils ../utils ./utils ../../geometry/Polygon".split(" "),function(d,q,h,k,e,f,l){d.autoComplete=async function(a,b,m,c){const g=b[0].spatialReference;a=e.parseUrl(a);b={...a.query,f:"json",sr:k.srToRESTValue(g),polygons:JSON.stringify(f.encodeGeometries(b).geometries),polylines:JSON.stringify(f.encodeGeometries(m).geometries)};c=e.asValidOptions(b,c);return h(a.path+"/autoComplete",c).then(({data:n})=>(n.geometries|| |
|
[]).map(({rings:p})=>new l({spatialReference:g,rings:p})))};Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})}); |