Blazor Maps Example - Legend Configuration
Source:
simple.wikipedia.org
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.