set style or class for marker option 'title'

48 views
Skip to first unread message

RoyHB

unread,
Jun 26, 2011, 9:34:56 AM6/26/11
to google-map...@googlegroups.com
I'd like to change color or weight or make other changes to the tooltip that is displayed when the marker title option is displayed.
Can this be done? 

If I wrap the desired title text in a <div> or <span> it just displays the tags rather than use them.

see my lame attempt at this page

geoco...@gmail.com

unread,
Jun 26, 2011, 10:50:05 AM6/26/11
to Google Maps JavaScript API v3
On Jun 26, 6:34 am, RoyHB <roy.bar...@gmail.com> wrote:
> I'd like to change color or weight or make other changes to the* tooltip*that is displayed when the marker
> * title option* is displayed.
> Can this be done?  

Not with "normal" tooltips, they are what they are.

See these pages from Mike Williams' (v2) tutorial for ideas on
creating custom tooltips:
http://econym.org.uk/gmap/tooltips2.htm
http://econym.org.uk/gmap/tooltips4.htm

As they were created for v2, they may not be directly applicable, but
the concepts should be.

-- Larry

>
> If I wrap the desired title text in a <div> or <span> it just displays the
> tags rather than use them.
>
> see my lame attempt at this page<http://oceantracker.net/tracker/V4/titleTest.html>
Reply all
Reply to author
Forward
0 new messages