I try to auto active identify widget tool when mouse click a polygon everytime. If identify widget is not open, mouse click will open it but how to disable identify tool when using draw widget to draw line or polygon or etc.
I added map.addEventListener(MapMouseEvent.MAP_CLICK, onMouseClick); under configLoaderHandler funtion on MapManger and also added new function
private function onMouseClick(event : MouseEvent) : void
{
AppEvent.dispatch(AppEvent.WIDGET_RUN, ViewerContainer.getInstance().widgetManager.getWidgetId("Identify")); // add new reactive identify tool
}
Any suggestion will help. Thanks.
I added map.addEventListener(MapMouseEvent.MAP_CLICK, onMouseClick); under configLoaderHandler funtion on MapManger and also added new function
private function onMouseClick(event : MouseEvent) : void
{
AppEvent.dispatch(AppEvent.WIDGET_RUN, ViewerContainer.getInstance().widgetManager.getWidgetId("Identify")); // add new reactive identify tool
}
Any suggestion will help. Thanks.