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 the maps tooltip can be found in this documentation section.