You attempt to create one of your two maps before the browser has had a
chance to create the map div. This one fails

var mArray4 = Array();
var map = new GMap2(document.getElementById("map"));

but then your second map succeeds because it gets called after the HTML
has finished loading and the <div id="map" style="width: 619; height:
450;"></div> now exists.

function doLoad() {
        if (GBrowserIsCompatible()) {
                map = new GMap2(document.getElementById("map"));

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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