Maps / Legend / Legend

Blazor Maps Example - Legend Configuration

Loading Syncfusion Blazor Server Demos…

Properties

This sample demonstrates legend configuration for grouping countries based on population density, with customizable legend type and position options.

Legends are configured using the MapsLegendSettings class. Key features include:

  • Legend items representing shape values and data ranges
  • Integration with MapsShapeColorMappings to bind colors to data ranges
  • Interactive legend toggling to show or hide related color mappings
  • Support for any number of legend items

For detailed information about legend implementation and customization, refer to the legend documentation.

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