On Apr 21, 11:34 am, Rossko <[email protected]> wrote:
> >         myLine = new GPolyline([marker.getPoint(), point]);
> >         window.setTimeout("map.addOverlay(myLine)",100); //just to
> > slow it down to find problem
>
> > I think I must be missing something elementary here. Your help would
> > be appreciated.
>
> What's the value of myLine when the setimeout expires and triggers the
> overlay?  Hint - the loop doesn't stop running so its probably
> completed before the first settimeout expires.
>
> cheers, Ross K

I see. So how can I use timeout to slow down the loop?

Regards, Steve.
--~--~---------~--~----~------------~-------~--~----~
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