Example of Selection & Highlight in Blazor Maps Component

Maps / User Interaction / Selection & Highlight

This sample depicts the 2016 presidential election results in the United States. In addition, an interactive legend is added to the top of the map.

In this example, you can see how to apply different styles to a shape in the map when it is clicked or hovered with the mouse. The selection is enabled by the MapsLayerSelectionSettings, and the highlight is enabled by the MapsLayerHighlightSettings.

More information about selection and highlight can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE