I'm trying to just get a map to show within a div for a simple test
and I'm getting the following error back (from Firefox error console)

a is null
http://maps.google.com/intl/en_us/mapfiles/100/maps2.api/main.js

Nothing fancy here, just trying to get the map to show

Here's the Javascript code in the head

<script src="http://maps.google.com/maps?
file=api&amp;v=2.100&amp;key=ABQIAAAA13HmL-
ZknqpswpgkO6hyIhSn3B6mMGRdiNsjhxATU_TqSjmDLRQVq55vAxOP4gwlbkjk6SfjycN6ig"
      type="text/javascript"></script>
    <script type="text/javascript">

    //<![CDATA[

    function load() {
      if (GBrowserIsCompatible()) {
alert('browser is compatible');
        var map = new GMap2(document.getElementById("map"));
        alert('after creation of map');
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        alert('after setCenter call');
      }
    }

    //]]>
    </script>

and the code is loaded in the onload event.
The "browser is compatible" alert is shown, after that I just get a
blank div on the page.  The second alert is never shown...

Any ideas what might be going on here?
Thanks

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