Ok I think I'm understanding this a bit more. So from what I gather,
it looks like I need to run a GEvent.something to ONLY run my code
once the main map is loaded. Is that correct?

Maybe I should just call it a day, and take a look again tomorrow,
with a fresh mind :p

Cheers

Andy

On Mar 17, 6:18 pm, youradds <[email protected]> wrote:
> > Observe the order of your alerts.  First undefined, *followed* by the
> > ones indicating the array is being populated.  Things are not
> > happening in the order you are expecting?http://econym.org.uk/gmap/async.htm
>
> Interesting - I see your point! (been a long day ;))
>
> I had a read of that page you sent, but I'm still unsure as to what I
> can do about it? (again, sorry for my ignorance - but I'm still new to
> all this stuff)
>
> As a random idea, I got rid of the onload= bit, and changed to:
>
>         <div id='map_canvas' style="width:100%; height:100%;"></div>
>
>         <script>initialize();</script>
>
> But that still seems to run the functions in the wrong order :/
>
> Any pointers?
>
> TIA
>
> Andy
>
> On Mar 17, 6:06 pm, Rossko <[email protected]> wrote:
>
> > > Why is my HTML invalid?
>
> > Examplehttp://www.scriptingmaster.com/html/basic-structure-HTML-document.asp
>
> > > I know it doesn't validate - but this is only
> > > a dev version ;)
>
> > So, when you experience a problem you don't understand, is it not
> > smart to fix things you know are wrong?
>
> > > alert(marker_array[1]);
>
> > > ..just tells me its undefined.
>
> > Observe the order of your alerts.  First undefined, *followed* by the
> > ones indicating the array is being populated.  Things are not
> > happening in the order you are expecting?http://econym.org.uk/gmap/async.htm
>
>

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