From here, I get a problem with this line:

   map = new GMap2(document.getElementById("map_canvas"));

because initialize() gets called before

   <div id="map_canvas">

has been seen, and that causes the API to crash.


You also call initialize() from body.onload, which succeeds, so you 
don't need to call initialize() the first time.

It might not be significant, but crashing the API might possibly leave 
its internal variables in an unusual state.

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

Reply via email to