Have you tried loading the images with JavaScript with something like:
image.push( new Image ) ;
image.push( new Image ) ;
.
.
.
image[0].src = "img1.png";
image[1].src = "img2.png";
.
.
.
and then testing to see if the image has the correct dimension?
if ( image[i].width == 600 && image[i].height == 550 )
{
do something cool...
}
The only cross browser and reliable method I know of to tell if an
image is loaded is to check the dimensions.
BTW, using groundOverlay is costly in terms of JavaScript performance.
If your images are already projected into World Mercator, then you'll
also get distortion if the images cover more than a few degrees of
latitude. You might consider one of the direct image object libraries
available like ProjectedOverlay (mine!).
-John Coryat
http://maps.huge.info
http://www.usnaviguide.com
http://www.zipmap.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---