AnsweredAssumed Answered

Use of SnappingManager in Custom Widget

Question asked by Jacob.Nosal on Sep 27, 2016
Latest reply on Sep 29, 2016 by rscheitlin

I am trying to writing a WAB widget that will allow a user to click on a road (or another linear feature) and snap a marker symbol to that roadway. As the user moves the cursor, the marker should be placed at the point closest to the cursor on the road feature. I think that I should be able to do this with the SnappingManager, but have only seen this class used in the context of Measurement and other esri/dijits. Is the SnappingManager restricted to use in the esri/dijits?

Outcomes