It depends how you are measuring fastest. Options 1 & 2 will delay page loading (by increasing up-front download size). Option 3 will load the page much faster, but have a slight loading delay on each info window opening (due to AJAX call).
For my users, I would most definitely choose option 3. Chad Killingsworth On Sep 24, 9:57 am, Jurgis Stepanovs <[email protected]> wrote: > Hi, everybody! > > I'm looking for fastest way to load ~100 info windows with rich HTML > content > at the time, and dynamically changing its content. > Which will be fastest way to form and fill with data info windows on > google map? > 1) Form all formatting and content on server and load it with XML, > JSON? -> Big PHP, Little JS > 2) Form only data on server retrieve in XML, JOSON and formatting tags > add in JS? -> Little PHP, Big PHP > 3) Load each Info Window on marker click event, and then get all data > in XML, JSON, and format? Little PHP, Little JS, but some user timeout > in browser > > Regards, > > Jurgis Stepanovs -- 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.
