That of course is the cause of the bug, but it leaves open a mystery: "How in the world did you figure that out? Do you have some magical talent at this? I spent hours and didn't find it!"
And of course you don't have a magical talent, any more than I do. Yet we somehow both found the problem in about a minute's work - simply because we have good debugging tools like Firebug. That's why I highly recommend not just providing the answer to a question like this, but explaining what tools you used to find it, and educating the OP on what these tools are and how to use them. To paraphrase an old saying, "Give a man a bug fix, and you've fixed his bug today. Teach him how to use a debugger, and he'll be able to fix his own bug next time." :-) -Mike > From: [EMAIL PROTECTED] > > Your initialize function which initializes the "map" variable > is run by the body onload event which happens after the page > finishes loading. The calls to showAddress are inline and > are executed as the page is loading, before that variable is set up. > > -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
