A number things stand out (could be more problems as well)

1: You are re-using the same map variable for each map, even though
you are doing "var map;" for each one, they are all in global scope,
so will all get over written.

2: You have multiple "mapLoad" functions, actually all of your
javascript function are duplicated.

3: You are assigning these to mutliple window.onload events, again you
can only have one. Which one gets called is pot-luck, but it would
normally be the first one, but then it wouldn't know which one of the
mapLoad functions to call anyway!

4: Each map must have a unique div id.
map = new GMap2(document.getElementById("map"));
<div id="map" style="width: 500px; height: 500px; "></div>
--~--~---------~--~----~------------~-------~--~----~
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