Steve,Query task is an asynch process. It should be OK to deactivate the drawing toolbar before the task responds.Check this thread. It may be the same issue:http://forums.arcgis.com/threads/63149-Drawing-Tool-sometimes-locks-pan-tool-and-can-never-finish-drawing-a-polygon-polyline?p=221251#post221251
I'm experiencing some odd conflicts with drawing and map panning (mouse drag). The sequence of events is:toolbar.activate(esri.toolbars.Draw.EXTENT);toolbar.deactivate();toolbar.activate(esri.toolbars.Draw.POINT);querytask - get feature at selected pointadd returned feature to a graphics layertoolbar.deactivate();toolbar.activate(esri.toolbars.Draw.POINT);And at this point, mouse dragging to pan the map is disabled in my application. What's interesting is two things: First, if the initial toolbar activation as "EXTENT" is left off, the map dragging is not disabled. Second, when the map dragging is disabled, activating the toolbar with drawing shape "EXTENT" and then deactivating the toolbar fixes the mouse dragging to pan the map.Any clues or help would be appreciated.Steve G.County of SLO
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.