Google maps must be the first script loaded. Aka the first <script> tag. You
can find an old example of mine at http://www.samurainews.com/gmaps just
view the source.  Works in all browsers so far as I know.

On Thu, Mar 4, 2010 at 9:00 PM, Jake Bottero <[email protected]> wrote:

> I'm working with google maps.
>
> Normally, you kick off the Gmap code with an onload call in the <body>
> tag. For example: <body onload="init;">
>
> When using MooTools, this doesn't work, you have to place:
>
>    // Get the ball rolling...
>    window.onload = init;
>
> inside the 'domready' wrapper. Otherwise, init does not get executed.
>
> The problem lies with (for some strange reason) with IE. Sometimes the
> map code will not *complete* the map load if the map starts loading
> before the page itself has finished loading.
>
> Is there a way to detect when the page has finished loading so I can
> at that point kick off the map loading function within the 'domready'
> wrapper?
>
> This issue is exclusively with IE. Googleing "google map not loading
> in ie" brings up a bit of discussion but noting that addresses Gmaps
> and MooTools.
>

Reply via email to