Re: [Google Maps API v3] get the current version of the API

2009-11-30 Thread Mike Williams
In your case, I'd recommend testing for the existence of a class that exists in v2 but not v3, and is unlikely to ever exist in v3. Possible targets are Maps2 and XmlHttp. if(google.maps.Maps2){ alert("") } or if(GMaps2){ alert("") } In v2 there's a G_API_VERSION, but tha

Re: [Google Maps API v3] get the current version of the API

2009-11-30 Thread Peter Dang
Hi,

[Google Maps API v3] get the current version of the API

2009-11-30 Thread mickeyben
Is there a way to know the current loaded version of the API ? I'm doing a JQuery plugin that will only work with the v3, I would like to be able to raise an error if it's the v2 that is loaded. Thanks, Mike -- You received this message because you are subscribed to the Google Groups "Google M