Thanks John, I wasn't aware anyone had replied, I thought I was recieving email notifications, but apparently not..
I'm actually using your projectedoverlay library, and it's working a treat. Once our page is live, I'll show you it. Your work has been very helpful, especially with transparency. I've tried a few things to preload the images, firstly preloading them all into a hidden table, however this makes the page hang before loading for the large number of images we have. Secondly, a postload js function, but this has had little success as each image load has vastly increased memory usage.. I'm still thinking about this, I might have to have an inteligent loading process (load a couple either side of the slider location, to make it look smooth in both scrolling directions) More importantly though, I'm struggling to make our page work in ie6 with your projectedoverlay lib. ie6 doesn't recognise any of the googlemaps api functions in the projectedoverlay.js file, even though I have referenced the googlemaps api in the main php page. As is the way it seems, it works well in firefox and other browsers.. Any ideas? Cheers, Ian On Sep 10, 5:51 pm, "Maps.Huge.Info (Maps API Guru)" <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
