• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Selection & Highlight in ASP.NET Core Maps Control

This sample visualizes USA president election results in the year 2016. Vote details of a state will be displayed in a popup on clicking a state. Placed interactive legend at the top of the map.

DEMO
SOURCE

In this example, you can see how to apply various styles for a shape in the map, when it is clicked or mouse hovered.


Injecting Module

Maps component features are segregated into individual feature-wise modules. To use selection, inject the Selection module using the Maps.Inject(Selection) method, and use highlight by injecting the Highlight module.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab