As Andrew wrote, in my case, I added a few lines of code before
google.load statement loading google.map like below while I had been
debugging with FireBug:
<script language="javascript" type="text/javascript">
//<![CDATA[
// To work around google map issue
function gtbExternal() {
this.pageT = function() {};
}
window.gtbExternal.pageT = function() {};
google.load("search", "1", {"language" : "ja-JP"});
google.load("feeds", "1", {"language" : "ja-JP"});
google.load("swfobject", "2");
google.load("maps", "2", {"language" : "ja-JP"});
//]]>
</script>
And, as Mike pointed out, I removed the lines other than the
google.load statements after debugging with FireBug.
On Jul 27, 2:04 am, Andrew Leach <[email protected]>
wrote:
> On Jul 27, 8:49 am, dorleac <[email protected]> wrote:
>
>
>
> > I do have the same problem, you seem to have managed solving it. How
> > do you "add the line function gtbExternal() in global context."? Where
> > exactly in the code should it be?
>
> "In global context" means outside any other function. It should go as
> early as possible but after the <script> tag which loads the API.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---