Have a custom MapTool that generally works well. When a point that has a path to a file in its attribute table is clicked using the tool, the file is opened. But when Esri’s Move Tool is used to select a point (point doesn’t need to be moved) and then the Tool is activated, the OnToolDeactivateAsync runs, but when point is clicked with the tool, the OnSketchCompleteAsync is not triggered and the tool stops working.
Has anyone run into this issue, and did they find a solution? Thanks in advance.
Hi,
Activating next tool deactivates previous tool. Why do you use Move tool to select point? You can select it from code
The reason for the tool is not to move anything. The issue is that once Esri's move tool is used and then the custom tool is activated sometime after, the custom tool activates (OnToolDeactivateAsync runs), but OnSketchCompleteAsync is no longer triggered and the tool stops working
So if a user uses Esri's move tool, our tool no longer works.
The reason for the tool is not to move anything. The issue is that once Esri's move tool is used and then the custom tool is activated sometime after, the custom tool activates (OnToolDeactivateAsync runs), but OnSketchCompleteAsync is no longer triggered and the tool stops working
Same problem... I concur it's the "Move" tool that disables all of my custom map tools. The "Edit" tool does not cause a problem. In fact, if I perform a subsequent "Edit", my tools will begin working again.
@Esri fix it!