On Mar 10, 4:49 am, rrm <[email protected]> wrote: > Hi > > I have a problem with the GBrowserIsCompatible function. I have placed > my code on an intranet server for testing and I get the warning:
1. What URL did you register the key for? > > This web site needs a different Google Maps API key. A new key can be > generated athttp://code.google.com/apis/maps/. > > In Ie7 & 8, Firefox 3.0.5, safari 4.0.4, GBrowserIsCompatible returns > false, but in opera 10.10, the functions returns true.... > > Is there something I am missing??? A link to a publicly accessible site that exhibits the problem. http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical Per the Terms of Use, maps must be publicly available to use the free API. If your map is on an intranet, you need a Premier license, which comes with support from google. -- Larry > > Some test code: > > <!DOCTYPE html PUBLIC "-//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://www.google.com/jsapi?key=[google_key]" > type="text/javascript"></script> > <script type="text/javascript"> > > //<![CDATA[ > > function initGMaps() { > > alert("GBrowserIsCompatible " + > google.maps.BrowserIsCompatible()); > } > > google.load("maps", "2.x", { "callback": initGMaps }); > > //]]> > </script> > </head> > <body> > <div id="map" style="width: 600px; height: 550px"></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=en.
