How to disable the tooltip in google geography?

I need to disable the tooltip in google map. I have tried tooltip.trigger: 'none'other attempts, but I cannot turn off the hint.

How do I disable the tooltip in Google geographic charts?

thank

+5
source share
3 answers

I looked around and tried a few things, but it seems that this particular bit of functionality is not part of the Geo diagrams. In other charts, you can do the following and disable tooltips:

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

A , , - div, , , , . , jsfiddle.

+1

, / CSS-, .

#map {
  pointer-events: none;
}

, . , .

+1

asgallant 12-09-12:

You can turn off tooltips by setting the enableRegionInteractivity: false option, which also disables clicking on regions. The API does not provide a mouseover event to geo-inform the chart, so if you want to make your own, you will have to hook the mouse events on SVG / VML manually. To my knowledge, there is no good way to map an SVG / VML element to a DataTable.

0
source

All Articles