Have you tried to make a custom GControl out of your image? Jeremy R. Geerdes Effective website design & development Des Moines, IA
For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com [EMAIL PROTECTED] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.home.mchsi.com ! On Dec 10, 2008, at 12:04 PM, Informagence wrote: > > Hi, > > Haven't found an answer to this one. > > I have a map which allows users to choose a GDirections Route. > By clicking on the route map, they can add waypoints and get a new > GDirections route. > > I would like to give users feedback that something is actually > happening while waiting for GDirections to return by adding a > "loading.gif" overlay to the GDirections onclick function to display > the loading gif and then hide it on the GDirections onload callback. > > I'm having two problems. > > One, the GDirections onload callback returns almost immediately > (according to the docs, it returns when a summary is available, even > though it may take another 5-10 seconds for the map to actually > appear). So even if I stick my loading gif in an entirely different > part of the page, it appears for a second and then disappears. > > Two, if I try to overlay the gif on the original MapDiv, it either > doesn't appear at all, or appears behind the original GDirections map, > no matter what z-index I give it (have tried everything from 100 - > 1,000). > > BTW, this isn't only my problem. Same thing happens at > maps.google.com. The only feedback you get is "Transfering Data from > maps.google.com" in the status bar, but the map can appear 3-10 > seconds after the status bar states "Done." > > Thanks for any help. > > Keith > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" 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-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
