Search code examples
google-visualization

How to disable tooltip in google geo chart?


I need disable tooltip in google geo chart. I tried tooltip.trigger: 'none' and other tries, but I can´t disable tooltip.

How to disable tooltip in google geo charts?

Thank You


Solution

  • Had a look around and tried a few things but it seems that this particular bit of functionality is not part of Geo charts. With other charts, you can do the following and have tooltips disabled:

    var options = {
        tooltip {
           trigger: 'none'
        }
    };
    

    A workaround I came across is to create a div that just sits on top of the map and that disables the interactivity of the map. Not the best solution but a work around until it's made available. You can see it working on jsfiddle.