On Aug 3, 1:40 am, Greg45 <gre...@gmail.com> wrote: > Don't know wHere put my var map, for make it Global .
I gave you an example. You could also look at this description from Mike Williams' (v2) tutorial: Javascript Concepts - Part 1 Scope http://econym.org.uk/gmap/scope.htm You need to remove the "var" keyword from the statement that initializes it in your function (leaving that statement where it is), and then declare the variable in the global scope (outside of any function). -- Larry > > ps : sorry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.