I have a problem with deactivating my custom map tool when sketch is finished.
At now I'm trying to call SetCurrentToolAsync from the OnSketchCompleteAsync of my map tool. But this causes deadlock. Seems like I need to exit from OnSketchCompleteAsync to proceed with changing the current tool.
I want to deactivate the tool when sketch is completed. I didn't found any property in the MapTool class to specify this behavior. Is this possible?
Max,
Try setting the applications current tool to null (or anything else).
If its null then 'explore' mode will be active.