An error was thrown to me on:

    function closeAllInfoWindows()
    {
        if(cont != -1)
        {
             markersArray[cont].infoWindow.close();
                 cont = -1;
        }
    }

I think the value of 'cont' was out of sync.

You don't need that function if you create just a single instance of
InfoWindow(). Inside marker 'click' handler:

    infoWindow.setContent(tooltip2);
    infoWindow.open(map, this);

That's it.

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