On Tue, Oct 26, 2010 at 10:43 AM, Pil <[email protected]> wrote: > > > On Oct 26, 5:27 pm, Ben Appleton <[email protected]> wrote: > >> >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. > > Hmm, I wonder why this remnant of maps.google.com gets regularly > (about every 10 days) updated, it always points to the latest version > of v2. > > And I wonder why v2 and maps.google.com uses the same bootstrap and v3 > uses another one.
Because Google uses the same server for Maps API v2 as maps.google.com, and it serves some shared configuration in their bootstraps. > This file seems a bit big for a "bootstrap", as bootstrap usually > indicates that there is bigger file than this one which covers the > code. But this bootstrap is the biggest file besides a few smaller > modules. By v2 "bootstrap" I refer to http://maps.google.com/maps?file=api&v=2 (~3kB). This contains the configuration data and loads the v2 "main module" http://maps.gstatic.com/intl/en_us/mapfiles/285c/maps2.api/main.js (~100kB). For comparison the v3 bootstrap is http://maps.google.com/maps/api/js?sensor=false (~0.8kB). This loads the v3 "main module" http://maps.gstatic.com/mapfiles/api-3/2/9/main.js (~12kB). > -- > 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.
