> It apparently only works in the init function on closer
> inspection.

What's an init function?  Perhaps you can only attach a listener to an
object, in the scope in which the object is accessible.

function init () {
     var map = ....
}

GEvent.addListener(map, ...

won't work.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to