Ah... that makes sense.. thanks
On May 5, 12:55 pm, Mike Williams <[email protected]> wrote:
> The script that creates the map is called by onload, so it executes
> after the page has completed loading.
>
> The other script is not called by onload. It is executed as soon as the
> browser encounters it. If you try to call addPoints() from there, it
> will fail because the map hasn't been created yet.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---