Tooltip Customization#
You can customize the content of tooltips for the layer by using the parameter tooltips of geom functions.
The parameter takes as value the result of the layer_tooltips() function call.
See also the formatting reference to learn how to format numeric and date-time values in tooltips.