On Sep 16, 9:24 am, "Pil (Trustworthy from Experience)"
<[email protected]> wrote:
>
> Try to call setMarker() within the timeout you want. This should work
> in all standard compliant browsers.

But, in order to do that, the variables "map" and "baseIcon" -- and
probably others -- will need to be global, not local to the
initializeGoogleMaps function. Timeouts run code in global scope.

(Currently, all the function definitions are within
initislizeGoogleMaps, so they share its local variables)

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