AnsweredAssumed Answered

Snap to ArcGISDynamicMapServiceLayer in WAB

Question asked by topper.harwey on Jan 28, 2016
Latest reply on Jan 28, 2016 by rscheitlin

How do I enable snapping to ArcGISDynamicMapServiceLayer in WAB.

I try

var snapManager = this.map.enableSnapping();

var layerDyn = this.map.getLayer(this.map.layerIds[1]);

var layerInfos = [  {layer: layerDyn} ];

snapManager.setLayerInfos(layerInfos);

 

but snapping not working.

Please help me

Thanks a lot

Outcomes