It's a timing issue.

This code requests the geoxml.js file to be fetched

  newScript.src = 'http://www.wrh.noaa.gov/zoa/js/geoxml.js';
  headID.appendChild(newScript);

but then you don't have any delays before you call GeoXml(), so the call
happens before the geoxml.js code fetch completes, resulting an a
"GeoXml is not defined" error message.


Why not just use
 <script src='js/geoxml.js' type='text/javascript'></script>

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