There's various ways to preload images:

http://www.google.co.uk/search?x=0&y=0&q=html+preload+images&ie=UTF-8&oe=UTF-8

That's ok if you have just a small number of images but if you have
many then it's not practical.
Do you want the map to load LOTS of images 'just in case' a user opens
an infowindow which contains one of those images?

An alternative is to create an 'onload' event listener for all images
in an infowindow when the infowindow opens:

http://groups.google.co.uk/group/google-maps-api/browse_frm/thread/24a9cae40c0fef1a/fde92dd60689355d?hl=en&lnk=gst&q=martin+image+onload#fde92dd60689355d

Martin.

On 25 Aug, 20:16, monsterag <[email protected]> wrote:
> Thank you,
> but...
> how can i define the size of the contentwindow in the height?
> I only found this in the documentation:
> GInfoWindow enableMaximize()
> GInfoWindowOptions maxWidth
>
> How can load the images in the cache before? Is there a javascript or
> google function for this?
> Einar

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