Hi - I have just ported my application to use the JBoss Seam Framework
with XHTML and for some reason my Google Maps are no longer displaying
on Safari (v3.1.2) and Chrome (0.3) (they work fine on IE7 and Firefox
3.03).  To try and debug the problem I took the most basic example
from the Google Maps site and still this does not show in Chrome or
Safari.  My code is below and I am running this on JBoss AS 4, with
Seam 2.0.  Any suggestions as to what is going wrong would be most
appreciated - I've spent the whole morning searching online and can't
find a solution.

Thanks


[CODE]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Google Maps JavaScript API Example</title>
<script
        src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAsUpfGHYMgyC5TqAd4K65yxTc-
amD0ILsCzwZg4jeCIq7l5zm9RRUzr4BfUe2DFlBbgQGad6Bi6GfUw"
        type="text/javascript"></script>
<script type="text/javascript">
    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
      }
    }
    </script>
</head>

<body onload="initialize()" onunload="GUnload()">
<div id="map_canvas" style="width: 500px; height: 300px"></div>
</body>

</html>
[/CODE]


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