I was reading some other posts on this, but I can't seem to figure it
out. I want to add a tooltip to my markers, so here's some sections
of my code:
(These sections are taken out of context; I am guessing that this will
be all the info that I need to post. If it's not, please let me know
and I'll post my entire script)
var marker = new GMarker(point, markerOptions);
markerOptions = { icon: Icon,title:"THIS IS WHERE I NEED THE CUSTOM
TEXT" };
var point = new GLatLng(35.839904, -86.381823);
var marker = createMarker(point, 'Patterson Park','Patterson Park
Community Center')
map.addOverlay(marker);
What I need to do is pass some text that's specific to my marker into
the "markerOptions" section. How do I pass text from "createMarker"
into "markerOptions"? Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---