> Larry, I just tried what you said.

Not quite.  You have
 var map = null;
 function sl_load() {
     ...
     var map = new GMap2(...

which creates a global 'map', then creates a local 'map' inside the
function (which goes away when the function is complete).

You want the function to re-use the global one
 var map = null;
 function sl_load() {
   ...
   map = new GMap2(...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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