GIS stackexhange is the first website that i've come across that has come near to answering my question, but some how i can't work the answer out in my head/or the answers here have confused things more.
I'd like to put a simple identify button on a web map. In simple terms, i want a map where the identify task is disconnected onload with an equally simple toggle on/off identify button.
i understand that you need to dojo.disconnect the onclick identify function and that you then need to dojo.connect it back in the onclick of a button but i cant work out how it all comes together. I've read and re-read the arcgis js api 'working with events' page but this too has lost me.
any help would be great.