Open InfoWindow on Marker throws exception

6 views
Skip to first unread message

jd

unread,
Feb 23, 2010, 1:31:07 AM2/23/10
to Google API Libraries for GWT
Hi,

I can open an info window on a point but when I try opening on a
marker an exception is thrown.

This works:

map.getInfoWindow().open(latLng, content);

But this:

map.getInfoWindow().open(marker, content);

throws this:

com.google.gwt.core.client.JavaScriptException: (TypeError): b is
undefined
fileName: http://maps.gstatic.com/intl/en_ALL/mapfiles/193c/maps2.api/main.js
lineNumber: 1224
...

Has anyone got Info Windows opening over markers successfully?

Thanks,

John

jd

unread,
Feb 23, 2010, 4:22:34 AM2/23/10
to Google API Libraries for GWT
Solved by setting a infoWindowAnchor on the markers icon
Reply all
Reply to author
Forward
0 new messages