AnsweredAssumed Answered

Clearing Graphics in WAB custom widget

Question asked by richelles on Jul 1, 2018
Latest reply on Jul 4, 2018 by rscheitlin

I am having issues with clearing graphics in a custom WAB app.

I have been using but I keep getting an Uncaught Error.


The functionality I am after is just allowing a user to draw a polygon, and clear the results. I hope to add undo/redo, and limiting it to a single feature later.


Attached is the widget, with the code changes in widget.js and widget.html. My experience with dojo/esi/etc. is limited, and I am sure it's something small I've just missed.


I would appreciate some help. Thx!