On Jan 9, 1:38 pm, donjamessingleton <[email protected]>
wrote:
> > It is possible. The variable "map" must be global, though. It won't
> > work if you have "var map" inside a function.
>
> How do I make it global?

Your "var map" statement must be in global scope, outside any
function.

http://www.google.com/search?q=javascript+global+variables
http://econym.org.uk/gmap/scope.htm

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to