dojo.disconnect
Thanks for your reply....but is it essential ?? because I have used this in my application and not able to see the big difference after using this..
//Run this code to start the listener listener = dojo.connect(layer,"onMouseOver",function(evt){ //do something on hover } //run this code to disconnect the listener dojo.disconnect(listener)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.