views:

82

answers:

1

I'm updating some older code that used the v2 API for Google Maps. On domready, it would use a statement like

if(google.maps.BrowserIsCompatible()){
// load the map
}

Now that I'm loading the v3 API, I get an error

google.maps.BrowserIsCompatible is not a function

I've read a ton of threads in the Google v3 api groups, but haven't found a clear answer of what the new function is called or how to reference it.

+3  A: 

GBrowserIsCompatibile didn't make it into the version three API, so you will have to write this code yourself.

Here is a list of the browsers supported by v3.

Cannonade
thanks cannonade! seems odd they'd drop this but I'm sure they had a good reason.
julio
@julio Yeah I am not sure about that. They removed a few things that weren't core maps functionality from v3 (like the Http request wrapper stuff). I have a friend at Google, I'll ask her next time I see her :).
Cannonade