After changing my default browser to Chrome, I just noticed that my
google map on my company website don't actually load in my default
browser!
I tested the same page from my machine in Firefox, Avant and even IE
and it loads fine in them, but not in Chrome or Safari for some
reason.

Here's the code that's always worked for me (at the end of my
header):

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

    //<![CDATA[

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

                map.addControl(new GSmallMapControl());
                map.addControl(new GMapTypeControl());

        map.setCenter(new GLatLng(52.107402, 0.79550), 17);
                var point = new GLatLng(52.107402, 0.79550);
                map.addOverlay(new GMarker(point));
      }
    }

    //]]>
    </script>
</head>
FOLLOWED BY
<body onload="load()" onunload="GUnload()">
TO LOAD IT

The page itself is at http://www.lavenham-photographic.co.uk/contact.htm

Can anyone see it it loads for them, or give me any tips as to how to
get it to work?

I don't have the best knowledge of debugging these things, so please
try and keep answers simple!!

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