I changed the end of your key from: ...hsw&sensor=true... to
...hsw&&sensor=false... and it worked fine in Firefox 3 and IE7. ------------------------------------------------------------------- On Nov 17, 6:43 am, rfellows <[email protected]> wrote: > I cannot get the map to display in IE8. It displays just fine in > Safari! > > I am using the following code: > > <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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&v=2&key=ABQIAAAAfcAvhEA_c7LlItyPmeWRpBTQoZn- > DE9n-48zMFKer2K_rgRi7xSAQfCCrt0HIJjn-Cw9TZWuJ4Dhsw&sensor=true" > type="text/javascript"></script> > <script type="text/javascript"> > > function initialize() { > if (GBrowserIsCompatible()) { > var map = new GMap2(document.getElementById("map_canvas")); > map.setCenter(new GLatLng(38.697438,-121.193981), 13); > map.setUIToDefault(); > var point = new GLatLng(38.697438,-121.193981);map.addOverlay(new > GMarker(point)); > } > } > > </script> > </head> > <body onload="initialize()" onunload="GUnload()"> > <div id="map_canvas" style="width: 540px; height: 480px"></div> > </body> > </html> -- 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=.
