Hi!
I would like to add snapping functionality to an existing custom widget, for use in a web app built with Web AppBuilder (Developer Edition). When starting a new feature, I'd like my cursor to snap to control points or polygon vertices, but I've not found documentation or snippets for guidance how or where to add this.
Context:
I am creating a web app using the Web AppBuilder (Developer Edition), with fairly simple but specific functionality: sketch traverses using distance and bearing courses, to be compared against existing polygons in a separate layer. The traverse courses should be possible to save/load to/from text files. It looks like