Good evening all, hope you're doing well. Wondering if anyone else has ran into this issue trying to use the new SketchEditor class introduced in 100.12.0. I have a QWidget button that calls the following method to start drawing a polygon but it's not showing anything on my map view AppView. I got the code below from the official doc C++ SketchEditor
Any help would be greatly appreciated thank you.
void AppView::startSketching()
{
Esri::ArcGISRuntime::SketchEditor* sketchEditor = new SketchEditor(this);
setSketchEditor(sketchEditor);
sketchEditor->start(SketchCreationMode::Polygon);
Geometry sketchGeometry = sketchEditor->geometry();
sketchEditor->stop();
}