> So a basic tooltip to me with its title property would not work since
> the tootltip info in my situation is variable based on the markers
> data record.
All the other properties of your marker are set using info from the
database, why don't you expect this one to work either?
Instead of all this -
var tooltip = new Tooltip(markerPoint,marker[8],4);
markerPoint.tooltip = tooltip;
map.addOverlay(tooltip);
GEvent.addListener(markerPoint,'mouseover',function()
{ this.tooltip.show(); });
GEvent.addListener(markerPoint,'mouseout',function()
{ this.tooltip.hide(); });
feed marker[8] to your createTabbedMarker() function, and in that
function use it for a { title : sometext } option in the new GMarker
( ...) line that must be there.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---