Stop Interaction With Map and Cursor Change

251
0
06-01-2020 11:31 AM
Vidar
by
Occasional Contributor II

Hi,

I have a tool where the user clicks on the map and my code goes off and does a long running task. However the UI is still responsive which is fine most of the time, but in this case I don't want the user to start clicking all over the map and stacking lots of queries.

I want to disable further interaction with the map and change the cursor from crosshair to a wait cursor. When the task is finished I want to go back to the crosshair and allow interaction with the map again.

Is this possible?

0 Kudos
0 Replies