> All I want is to turn on and off the same listener more than once. It's generally more efficient to code the listener to do (or not do) different things in different circumstances. For your example, have the mouseover open-info action set some flag. Have your mouseout listener test the flag to see if it should or shouldn't close the window as appropriate, and then update the flag if needed.
If you really must add and remove listeners see http://www.google.co.uk/search?hl=en&source=hp&q=gevent+removelistener&meta=&aq=0&oq=gevent+remove -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
