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.
