> I didn't see the author use the initialize() function.
> Instead the author used the load() function.
>
> Why is there no initialize() function?

It's a user defined function.  You can call it MyMapInitialize(), or
Bananas() if you like, there is nothing special about the name that
you use to define your own functions.

>  What is the implication of
> just using load() and when does load() get called?

What is important is what calls load(), or whatever instead.
 The important part of
is the HTML code
    <body onload="load()">
which tells the browser to run load() when webpage building is
conplete.
If you changed that to
    <body onload="Bananas()">
it would try to run the function Bananas() instead.   What is defined
as function Bananas() is up to you.

This is standard javascript stuff, and not a maps issue.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to