On Tue, Oct 26, 2010 at 5:09 AM, Pil <[email protected]> wrote: > Hmm, when I load maps.google.com I can see a reference to the latest > version of the v2 API inside the source code, that's at the moment > > http://maps.gstatic.com/intl/en_ALL/mapfiles/288e/maps2.api/main.js
That is not source code but the "bootstrap", the initial bundle of configuration data sent to the page when it first loads. v2 and maps.google.com likewise used to share code for the bootstrap, and you see a remnant of this here in maps.google.com. > and a few v2 methods which are absent in v3, like > > GBrowserIsCompatible() > GUnload() What use is GUnload? It is a feature of v3 that we call this for you when the page unloads, rather than exposing a public method then instructing you to call it on page unload. It is also unnecessary in modern browsers, so by allowing the garbage collector to run during the page lifetime we use less memory and run faster. > And I am able to use exactly this code base for a v2 API map. I don't believe you, but you are welcome to try :-) > But when I load a v3 map I can only see references to the v3 API, > that's at the moment > > http://maps.gstatic.com/intl/en_ALL/mapfiles/api-3/2/9/main.js > > So I can see that maps.google.com and the v2 Maps API maps are sharing > the same code base, No, as I said they once shared a code base, and you see remnants that haven't been cleaned up. > which maps.google.com may enlarge with some other > code. > > > > > > On Oct 26, 8:01 am, Ben Appleton <[email protected]> wrote: >> maps.google.com does not use Maps API v2. They once shared a >> codebase, but maps.google.com forked away from v2 last year to pursue >> pure-HTML rendering of the entire landing page (including map), which >> is incompatible with a JS API (v2 or v3). >> >> maps.google.com and Maps API v3 share some code, and the teams work >> closely to share performance improvements and discoveries. >> >> - Ben >> >> On Mon, Oct 25, 2010 at 8:00 AM, Pil <[email protected]> wrote: >> > Not at this time. It's not foreseeable what Google will do and when. >> >> > You can try v2 as the official Google Maps page is still doing. Looks >> > like as if they are by no means satisfied with v3 themselves. >> >> > On Oct 25, 10:12 am, Jurgis Stepanovs <[email protected]> >> > wrote: >> >> Is Wiki and Panoramio layer available in Google Maps JS API 3? >> >> Any sample code how to add those layers? >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Google Maps JavaScript API v3" 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 >> > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
