Hello All, I have the following method on a widget that sets the map action and allow the user to draw on the map. This method is called once the widget is initialized.
private function activateSearchTool(value:String):void
{
// some code up here setMapAction(value, status, searchDrawEnd);
}
I have the map tools (zoomin,zoom out etc) in a seperate component;
private function PanMap(event:MouseEvent):void{
navToolBar.activate(Navigation.PAN,true);
}
The problem is that after using the widget, if i select the pan tool it activates the pan functionality but it also draws on the map while panning. is there anyway to disable the drawing while panning but keeping the drawn (graphic Layer)Any help appreciated.Thanks