On Mar 28, 1:34 am, cugok86 <[email protected]> wrote:
> 1. The problem: after clicking in any marker infowindow is opening
> only one infowindow! (only last xml record is working).

You need to obtain function closure:
http://econym.org.uk/gmap/closure.htm
Create your markers and infoWindows in a separate function.

--
Marcelo - http://maps.forum.nu
--





>
> 2. I am wondering also how to make a script that:
> - after click on marker is showing infowindow
> - after second click in the same marker infowindow is closing
> - after click in other marker only one current infowindow is open.
>
> Thanks for help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to