On Sep 2, 2:10 am, Mesquite Christmas <[EMAIL PROTECTED]>
wrote:
> Yes I see it now, I was missing the opening " in the second example.
>
> I updated the code after doing some more research but still nothing is
> showing.
>
> What is it I am missing?
You are attempting to do this
map.addOverlay(marker); // line 200
before creating "map".
Note what is inside your function load() -- as it is this which is run
onload -- and what is outside and executed while the script is being
parsed.
You need to be very careful about matching { with }. Your if block
{...} finishes too early [as does the function itself], and you
currently have a mismatch which results in a syntax error. You need to
have the structure
function load() {
if (GBrowserIsCompatible()) {
// what to do if the browser is ok ...
}
else {
// what to do if the browser is not ok ...
}
} // this one closes the function definition
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
-~----------~----~----~----~------~----~------~--~---