Controlling visibility of marker title

170 views
Skip to first unread message

RoyHB

unread,
Oct 27, 2011, 3:05:33 AM10/27/11
to google-map...@googlegroups.com
I have a standard map with sidebar.  When the user mouses over a sidebar entry I open a control in a fixed position instead of an infoWindow.

I would like to command the marker title attribute to be visible when the mouse is over the associated sidebar entry and be hidden on mouseout of the sidebar.

 I haven't been able to find a way to ask the API to make the title visible or hidden.  Title works fine when mousing over the marker, I just want to make it visible/hidden remotely.

Any hints as to an accessible marker attribute or method that can do this?

Rossko

unread,
Oct 27, 2011, 4:26:52 AM10/27/11
to Google Maps JavaScript API v3
>  I haven't been able to find a way to ask the API to make the title visible
> or hidden.

You can't. The 'title' is something the browser manages.

A similar thread
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/6d9a2ae441bde75a/4a27ea7425e214b3
I would think you can adapt labels to do what you want
Reply all
Reply to author
Forward
0 new messages