Hi guys
Just found the reason why google map loads pretty slow.
This happens because of my page where I tried use google map, loads
for almost 10 seconds (average). So, and I am loading google map,
initializing, etc since the page loads. I can't so much decrease page
loading time, but I want to improve google map speed loading. So, I am
going try to load google map, initialize, etc even if page not loads.
Is it possible ? How is that secure ? Do you have similar experience ?
Would be great if you confirm that it's possible :) Much appreciated
for any help
Thanks, Sergey

On 25 июл, 17:59, richard <[email protected]> wrote:
> On Jul 23, 3:24 pm, Mike Williams <[email protected]> wrote:
>
>
>
> > It looks like you're preloading the infowindow contents before creating
> > the map. Your infowindows contain huge images which are then scaled
> > down. E.g.
>
> >    http://www.sundialsociety.org.uk/images/Kent/S3009.jpg
>
> > is 685kb. The map doesn't get loaded until the "onload" event triggers,
> > which occurs after all those 15 large images have been fetched.
>
> > You end up displaying the image at 300x225 pixels, so you could save a
> > lot of time by creating images of that size rather than 1648x2331. On a
> > slow connection that could take quite a while.
>
> > Skipping the preloading of the infowindow contents would also allow the
> > map to display earlier in the proceedings. The downside would be that
> > there would be the normal slight delay the first time each infowindow is
> > opened as the image gets fetched, rather than the current instantaneous
> > photo display.
>
> > The underlay trick should work as long as your map div with underlay
> > appears before you start preloading the infowindow contents, which
> > appears to be the way you've got it configured. I don't know why that
> > wouldn't work unless you repositioned your map div at the same tile that
> > you added the underlay image.
>
> > --
> > Mike Williamshttp://econym.org.uk/gmap
>
> Many thanks to Mike and Ralph for such quick and helpful replies.  I
> will first reduce thwe size of the images, and then try to load the
> infowindows when they are opened.  Eventually, there will be more
> markers, and probably more information tabs for each marker, so this
> will become increasingly important.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to