Thanks for the quick reply Mike. That's funny, I had just found the basic5.htm article and read it. I'm going to have to read them both some more though because even after reading them I still have absolutely no idea what you just said LOL.
Before I spend hours upon hours trying to understand this, are you saying that this isn't possible to accomplish? Thanks ----- Original Message ----- From: "Mike Williams" <[email protected]> To: <[email protected]> Sent: Monday, December 28, 2009 8:00 PM Subject: Re: Need help with code to move map on click from links outside Gmap > Javascript launched from HTML executes in global context and can only > access global variables and functions. > > Your "map" variable is created as a local variable of your initialize() > function, so it's not accessible in global context. > > For a fuller explanation > > See: http://econym.org.uk/gmap/basic5.htm > > And: http://econym.org.uk/gmap/scope.htm > > -- > Mike Williams > http://econym.org.uk/gmap > > > -- > > 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. > > -- 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.
