Custom Gis Application with Arcgis Javascript API with modern layouting
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
758 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 ../../../core/Collection ../../../core/reactiveUtils ./FeatureSnappingLayerSource ./Settings ./SnappingOptions".split(" "),function(a,f,b,g,c,h){a.makeAllLayerSnappingOptions=function(k,d){const e=new h({enabled:!0,selfEnabled:!1,featureEnabled:!0,distance:d?.distance??c.defaults.distance,touchSensitivityMultiplier:d?.touchSensitivityMultiplier??c.defaults.touchSensitivityMultiplier});return{...b.watch(()=>k.map?.allLayers?.toArray()??[],l=>{e.featureSources=new f(l.map(m=>new g({layer:m})))},
b.initial),options:e}};Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});