Thanks for your answer. Is it possible to remove the tooltip when hover marker and leave the tootlip appears when click it in?
I'd appreciated your help. Marcela On Mon, Nov 2, 2015 at 2:46 PM, 'Sergey Grabkovsky' via Google Visualization API <[email protected]> wrote: > Hi Marcela, > > The tooltip role is not supported by the Map visualization, but this is > only because the Map visualization should automatically use the third > column as a tooltip and process the HTML, no special options required. > Here's an example: http://jsfiddle.net/8ttds5jv/ > > On Fri, Oct 30, 2015 at 11:59 AM Marcela Moreno <[email protected]> > wrote: > >> Hello, >> >> I have a google.visualization.Map chart. The Datatable for that chart has >> 3 columns and I want that the third one works like a 'tooltip' with HTML >> format. >> >> My data is something like : >> >> [1,2,'"<div>marcela</br>moreno</br>5000<div>] >> >> and I set the column property with this: this.data.setColumnProperty(2, >> 'role', 'tooltip'), even with this this.data.setColumnProperty(3, >> {type:'string', role:'tooltip', html:true}); >> and set the map options like: >> >> var options ={ >> ....other options, >> tooltip:{isHtml:true} >> } >> >> But even those configurations, The tooltip content is still a string. So, >> all of html tags are showed in the toottip. >> >> I don't know if tooltip role doesn't work in Map chart. >> >> The other approach is try to change the InfoWindow that appears when I >> click in any point of the map, but all the documentation I had founded is >> with Google Maps API and I'm using Google visualization. >> >> So, I'd really appreciated any help with this issue I have. >> >> >> Thanks a lot. >> >> Marcela >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to >> [email protected]. >> Visit this group at >> http://groups.google.com/group/google-visualization-api. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-visualization-api/3662bbbf-1526-44a3-a469-7cde49f4df38%40googlegroups.com >> <https://groups.google.com/d/msgid/google-visualization-api/3662bbbf-1526-44a3-a469-7cde49f4df38%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > > *[image: unnamed.gif] * > *Sergey Grabkovsky* | SWE | [email protected] > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Google Visualization API" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-visualization-api/djGuF3P88vc/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6P98eD%3Dm7HXmv3ML4MaaC9ZjTC61w3GHYjxugfoUkcJw%40mail.gmail.com > <https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6P98eD%3Dm7HXmv3ML4MaaC9ZjTC61w3GHYjxugfoUkcJw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *July Marcela Moreno GómezSoftware EngineerIT Project ManagementBelfast, NI* -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CACKPh2Q6BQ%2BVeZWhDfPuAXnfgpy_a0oeYm0BroXZ6i1pxuFgZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
