Hi folks,

I am trying to display an tabbed ginfowindow on page load and I can
get this to work great.

The only issue I am having is that one of the tabs of this window has
a function call in it that gets directions (to here and from here) and
that function is receiving a null value because the event trigger is
happening (I think) too fast.

Now I may be making a mistake with where I put the trigger.

The trigger is in the function that creates the marker (but after the
click event listener and the code the makes the tabs).

I have made a setTimeOut that returns absolutley no errors at all -
but it does not fire the event either.

I've tried these methods and all have done nothing:

setTimeout("GEvent.trigger(gmarkers[i],'click')",10);

setTimeout(function(){GEvent.trigger(gmarkers[i],'click')},10);

if you close the window and reclick on it - it does work.

is there some other way to use setTimeout to run the event slower or
perhaps another method?

I've tried values from 1 - 1000 and they all return nothing.



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