I tried to use the new SketchEditor. There's not much info on it beside the API doc, so here's my code:
if (viewerModel.getMapView().getSketchEditor() == null) {SketchEditor sketch = new SketchEditor();
viewerModel.getMapView().setSketchEditor(sketch);
sketch.start(SketchCreationMode.FREEHAND_LINE);} else {viewerModel.getMapView().getSketchEditor().stop(); viewerModel.getMapView().setSketchEditor(null); }
When I start the freehand sketch, the map pan with my movement so the line created is barely moving. I tried to overide the map onTouchListener onScroll , but it seems the SketchEditor is already doing that. There's probably another step I need to make I guess?
Can you help?
Every users using this feature will be impacted, so a potential thousand right now.
Thanks for adding that. I brought this up to the team internally. If you want a public defect to track this, I would encourage contacting Esri Support Services and logging a bug there. They will be able to create a public defect for tracking purposes.