This sample depicts the countries that were appeared in the finals of Cricket World Cup and their counts. By hovering the mouse over the shapes, county name, finalist count, and winning count will be displayed in the tooltip template.
In this example, you can see how to render the custom HTML element as tooltip. To see the tooltip in action, hover the mouse over a shape or tap a shape in touch enabled devices. Also, the interactive legend has been placed at the left of the map. Injecting Module Maps component features are segregated into individual feature-wise modules. To use a tooltip, inject the MapsTooltip module using the Maps.Inject(MapsTooltip) method. More information on selection can be found in this documentation section.