<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hi</div><div><br></div><div>I have a toolbar in my panpanel which contains the usual actions......zoom in / zoom out / Pan / measure etc. I also have a tree with the radionode plugin to alllow the user to </div><div>pick which layers should be queried.</div><div><br></div><div>My problem is the following...When one of the actions in the toolbar is currectly active (depressed: true) then the wmsGetFeatureInfo will not be activated.</div><div><br></div><div>I am trying to find a user friendly way of enabling the wmsGetFeatureInfo tool. My thought was that I should allow the actions to be depressed for exactly one event...ie that after the map has been zoomed once, the tool is then reset to "depressed:false".In that way, the user cannot forget that the tool is still activated and will be able to use the wmsGetFeatureInfo tool
which is always activated when the treenode is activated.</div><div><br></div><div><br></div><div>So to cut a long story short, I am looking for a way to set the zoomcontrol action in my tool bar to depressed:false after the user has zoomed once, but the action does not have an afterzoom listener....and my javascript is not good enough to create one....</div><div><br></div><div>Is anyone able to help me with this after-event, or suggest a better way for the user to be able to use the WMSGetFeatureInfo tool with the toolbar?</div><div><br></div><div>yours,</div><div><br></div><div>Rob</div><div><br></div><div><br></div></div></body></html>