Thanks Phil.
I have seen that example. I know the API team is getting closer to adding a widget for Sketching, and I'm assuming Measurement won't be far behind. This from the SketchViewModel documentation:
SketchViewModel provides the logic for Sketch widget, which will be added in a future release. The Sketch widget will simplify the process of adding graphics to the view with minimal code.
We can certainly develop something using the sample you included as a guideline, but was curious to know if someone close to the API team has an estimate of a target date for the widget. E.g. if it's more than 3 months, we'll need to start developing a custom solution.