Guys,

I need to present some text and images in an info window on google
maps when a user clicks on a marker. That's fine, I can use the
openInfoWindowHtml and put my HTML string into it. Chrome and IE
displays the tooltip of the image when I hover my mouse over the
image, but for some strange reason Firefox does not. Here is a simple
code example what I try to use:

var content = '<img src="http://code.google.com/images/code_logo.png";
alt="mytooltip" title="mytooltip" />'

function initialize() {
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(37.4419, -122.1419), 13);
    map.openInfoWindowHtml(map.getCenter(),content );
  }
}

do you have any ideas what can be wrong with it? or is it a FF bug?

thanks

robert

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