Hi,

i've got a problem with my gwt project and its google maps
integration.
given is a map, with several markers placed on it. if an special event
is fired in my application, i call the following method, which opens
an infowindow over a specified marker.

public void showSingleMarker(final Long id){

        //infowindow is a field of the class
        if(infoWindow == null{
                infoWindow = map.getInfoWindow();
        }

        //get the wanted marker through its id
        Marker marker = markerHashMap.get(id);

        InfoWindowContent infoContent = new InfoWindowContent("test-foo");
        infoWindow.setMaximizeEnabled(false);

        infoWindow.open(marker, infoContent);
}

the problem is:
if i call this method at least TWICE in a row (does not depend if the
marker is the same or a different one), and then CLOSE the infowindow
- the NEXT TIME  it should be shown, there is NO CONTENT shown
anymore. every following time i call the method, the infowindow is
empty.

is there anything special with infowindows and its content i do not
know? does anyone know what to do?

thnx in advance ... chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to