> This may be a stupid question, but it is one thing I do not understand
> and that is if the map...-object is accesable outside of the function
> that creates the map.

If you choose to make it so, yes.
   function initMap() {
        var map = new GMap2(...
creates a local-to-this-function-only map
   var map;
   function initMap() {
       map = new GMap2(...
creates a globally accessible map

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