In this thread: http://groups.google.com/group/google-maps-api/browse_thread/thread/56f3c0126cb2cd41
I see where you can add tooltips to the markers. I looked at the map and source code in that thread and don't see where it's done. I checked the code to my map: http://www.wohva-map-catalog.org/ and don't see "new GMarker(latlng," anywhere on my page so I'm lost as to where to add the tooltip. I'm thinking it should go somewhere in this segment of code: // A function to create the marker and set up the event window function createMarker(point,name,html) { var marker = new GMarker(point); var linkid = "link"+(gmarkers.length); GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); document.getElementById(linkid).style.background="#ffff00"; // Background changes to yellow lastlinkid=linkid; }); // ======== Add a "directions" link ====== html += '<br>Get Directions: <a href="http://maps.google.com/ maps?saddr=&daddr=' + point.toUrlValue() + '" target ="_blank">To Here< \/a>'; // Save the info we need to use later for the SIDE-BAR gmarkers.push(marker); // Add a line to the SIDE-BAR html side_bar_html += '<tr><td><div id="'+linkid+'"><a href="javascript:myclick(' + (gmarkers.length-1) + ')">' + name + '<\/ a><\/div><\/td><\/tr>'; return marker; } possibly in one of these lines: function createMarker(point,name,html) { var marker = new GMarker(point); But when I added it there, it did not work. Any help would be greatly appreciated. Thanks, paulp575 -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
