> google.load("maps", "2", { "callback": BuildMap});

This will break again if/when they enforce the 'sensor' parameter

> Can anyone offer a reason why this works and google.setOnLoadCallback
> (BuildMap()) doesn't?

I believe you would need to have defined BuildMap() BEFORE you set it
in your callback, as it wants to store a reference to the function.
Presumably when set as an option instead its just stored as a string,
and the function not looked for until actually needed.

--

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=.


Reply via email to