Is anyone out there using a timeout on with the google maps API? I have a google map which gets loaded from the fusion table. My client wants me to resort to a different solution if the maps doesn’t load in x seconds.
I tried using a javascript timeout function and $(document).ready, but found that the jquery ready was firing before the map was even rendered to the screen.
With all that said… does any one know a way to force a timeout to test some of the solutions that are available.
Thanks,
Andy
Could you use the
tilesloadedevent? The code would look something like this: