Thanks Mike

I had already thought of that but was hoping for some sort of:
updateInfoWindowHtml

This is my final solution:

function showInfoWindow(marker_index, text) {

    if ($('#infowindow' + marker_index).length > 0)
        $('#infowindow' + marker_index).html(text);
    else {
        text = '<div id="infowindow' + marker_index + '" >' + text +
'</div>';
        markers[marker_index].openInfoWindowHtml(text,{});
    }
}

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