Alejo83 wrote: > I need to calculate it on the server because otherwise the >map doesn't load the tiles until it has received all the positions and >calculated the corresponding bounds.
You made me study that thing. Tile loading and calculating the optimum zoom have nothing to do with each other (as Larry said in another thread). I tried calculating the optimum zoom before and after the GMap2 object is defined (meaning tile loading is started) and yes there is a difference. There is a maximum difference of 4 milliseconds on loading time. Doing it on server side you may save another half a millisecond. It depends strongly about the number of markers you are going to show. GMarker is such a complicated object that usually map tiles are shown before than about 50 markers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
