esri/toolbars/edit with Snapping

754
0
03-25-2018 10:53 AM
JesseAdams
New Contributor III

I'm trying to add snapping to the "esri/toolbars/edit" class in the 3.23 version of the JavaScript API, however, it doesn't appear to work the way I would have hoped.  According to the documentation snapping should work with this class.  Here's one of the examples I'm testing with: https://codepen.io/npgs/pen/WzZwQx

When a user double clicks on a feature I would like to give them the ability to snap to features while dragging the vertex around the map.  This appears to work with the Editor toolbar widget "esri/dijit/editing/Editor" but not the basic edit toolbar.

Any suggestions on how to enable this type of functionality while editing vertices?

Thank you,

0 Kudos
0 Replies