0) Try replacing event.getSender() with 'marker'.  Its already marked final
(or did you try that already?)

1) The 1.0.0 RC1 release was plagued with a few issues related to
InfoWindows and  overlays returned in the marker click handler.  All the
fixes are now committed to the svn/releases/maps/1.0 branch in the source
code repository
2) There are some issues with setting the maps version to 2.x I've
encountered recently.  You might try setting your Maps API version (the
v=2.x part of the url used to load the Maps API in your module XML file)
down to a specific version, like v=2.118

On Thu, Oct 23, 2008 at 9:29 PM, Jim Alateras <[EMAIL PROTECTED]> wrote:

>
> Just to add some further information.
>
> I am using GWT 1.5.2 on the mac
>
> On Oct 24, 12:20 pm, Jim Alateras <[EMAIL PROTECTED]> wrote:
> > HI,
> >
> > I am trying to open the info window to a marker in my GET application
> > using the code below. When I click on it the code in 'onClick' gets
> > executed (i can it in the debugger) but the info window is not
> > displayed. Any ideas why this maybe the case?
> >
> >                 mapWidget.setCenter(latlng, 16);
> >
> >                 final Marker marker = new Marker(latlng);
> >                 marker.addMarkerClickHandler(new MarkerClickHandler() {
> >                         public void onClick(MarkerClickEvent event) {
> >                                 final InfoWindow info =
> mapWidget.getInfoWindow();
> >                                 info.open(event.getSender(), new
> InfoWindowContent(address));
> >                         }
> >
> >                 });
> >
> >                 mapWidget.addOverlay(marker);
> >
>


-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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