Simplification:

[...]
>  function apply( object, method )
>  { return function()
>    { return method.apply( object, arguments );
>  } }
[...]
>    return apply( object, method );
[...]

The apply() / methodCallback() magic is a part of the API,
google.maps.Event.callback() has the same effect.  I did
not test it with an *incompatible* browser, but it can be
used before the map is created.

OTOH an experiment to replace window.onunload = GUnload
by google.maps.Event.addDomListener() failed.  Having fun
with JS, what I really want is the trick to enable public
transit info.  Where do they hide this nice feature?
--~--~---------~--~----~------------~-------~--~----~
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