Hi

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 
pick which layers should be queried.

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.

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.


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....

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?

yours,

Rob
_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to