Hi guys. I'm trying to use ExtInfoWindow. When I run the following in
Firebug and click on the new marker, the map moves east a lot, and
opens the ExtInfoWindow over a point that's nowhere near the marker:
-----START JS-----
marker = new GMarker(new GLatLng(43.664, -79.43));
RentalMap.addOverlay(marker);
GEvent.addListener(marker, 'click', function() {
marker.openExtInfoWindow(
RentalMap,
"info_window",
"<font color='red'>ExtInfoWindow content</font>",
{beakOffset: 3}
);
});
-----END JS-----
Here's my map. It's using the standard info window at the moment:
http://99.232.49.231:3000/neighbourhoods/21/map
Any idea why this is happening, and/or how to fix it?
Thanks!
Nick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---