Select to view content in your preferred language

Sample Flexviewer - execute function by clicking on icon when widget is already open

883
0
07-20-2010 07:55 AM
BradleyMontgomery
Emerging Contributor
I have created a custom Identify tool. When it is initialized, it automatically enters 'identify' mode - that is the user can immediately click on the map to identify a feature. The user does not have to click on a button in the widget to start identifying. If, when this widget is open and the users selects a different function from the tool bar such as zoom or pan, the identify widget is no longer active. I'd like to be able for the user to select the identify icon in the tool bar to re-activate the identify widget and have it enter 'identify' mode. I can't seem to find which event to listen for when the user selects a widget icon from the tool bar to run a function in a widget when the widget is already open.

Thanks!
Tags (2)
0 Kudos
0 Replies