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.


Reply via email to