Tooltip for polygon area
I found tooltip is always for points in polygon but it will be good if we can have tooltip for polygon so that more and more information can be fetched for the covered area.
You can add whatever information you like in the tooltip format or formatter settings.
-
xyz commented
tooltip: {
followPointer: true,
formatter: function() {
return "tooltip: whatever I want to say";
}
},Will allow you to form whatever string in the tooltip and the tooltip box will show up near your mouse (vs the most nearby vertex).
But, the most nearby vertex will still "light up" with the tooltip. I'm hoping for a feature that disable the vertex from showing up but let the whole polygon area to light up like other area-based series with respect to tooltip.
-
Anonymous commented
But how can i add tooltip in area? Can you pls share any example.