The problem is that a marker click is an event, rather than a continuous 
state, so it doesn't really have an "else". So the nearest you could get 
would be something like this logic:

Whenever (nothing happens) {
   do this;
}

Whenever (marker is clicked) {
   do that;
}

Detecting nothing happening could be done by running a setInterval or 
setTimeout loop, but it would be much more sensible to arrange for the 
"do this" to be triggered by something happening, rather than nothing 
happening.

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