Hi all,
I met a problem while I load the google maps api script dynamically.
For some reason that I cannot used the callback way to load the google
maps api, so I used the following method
var e = document.createElement("script");
e.src = <MyAPIScript>;
e.type = "text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);
After that, I validate the variable G_NORMAL_MAP in a
window.setInterval, but it's always undefined.(However, variable
google is defined)
Would you please give me some suggestions about this? Are there any
workaround?
Thanks,
Arthur
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---