basically i want to enable and disable the onClick listener at will. is this possible?
i see where you can do a dojo.disconnect(map, "onClick"); on unload but I want to be able to turn it on and off via a function.
if this isn't possible are there any other creative solutions to this problem? i can achieve the desired effect I am after by just hiding the div that is getting the results from my onclick event, but this seems like a waste of resources.
thanks in advance.