AnsweredAssumed Answered

Deactivate a map tool on sketch completed

Question asked by maxmaxmaxmaxmax on Nov 19, 2017
Latest reply on Nov 20, 2017 by maxmaxmaxmaxmax

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?