Wasn't it Lupus who wrote:
>
Thank you, Mike
>
>>   while (g_moveNotFinished) g_mapBC.removeOverlay(g_rubberline);
>
>maybe i forgot a semicolon. corrected.

But
   while (g_moveNotFinished);
just performs the null statement forever.

Perhaps you're used to a language where events interrupt the current 
processing, so you write programs that set up a suite of event handlers 
and then enter an infinite loop. Javascript doesn't work like that. In 
Javascript events get put in a queue. After your current code finishes, 
the handler functions of any queued events get invoked.

If you cause an infinite loop, the events just sit in the queue forever.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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