Thanks Mike, I'll work on doing that. This is my first foray into javascript, as mentioned I'm not a developer, actually in sales and marketing but I'm building this site as a new business so learning all of this stuff at once is pretty tough.
I sent something to you on your personal e-mail. ----- Original Message ----- From: "Mike Williams" <[email protected]> To: <[email protected]> Sent: Monday, December 28, 2009 8:46 PM Subject: Re: Need help with code to move map on click from links outside Gmap > Wasn't it Roger Mealey who wrote: >>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? > > Put this line outside your initialize() function > var map; > > And remove the "var" from your existing "var map=..." line. > > However, if you don't master the concept of scope, you'll probably keep > having similar problems in any Javascript you write. > > -- > 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.
