/adding-legends-to-blazor-maps

A quick start Blazor project that shows how to add legends to a Syncfusion Blazor Maps in a Blazor WebAssembly app. This project also includes a code snippet to align legend, change legend mode, legend position, and legend icon and skip an item from the legend.

Primary LanguageHTML

Adding Legends to Blazor Maps

This sample explains about how to add legends to a Syncfusion Blazor Maps in a Blazor WebAssembly app. This project also includes a code snippet to align legend, change legend mode, legend position, and legend icon and skip an item from the legend.

Example: https://blazor.syncfusion.com/demos/maps/legend?theme=bootstrap5

Documentation: https://blazor.syncfusion.com/documentation/maps/legend

Prerequisites

  • Visual Studio 2022

How to run the project

  • Checkout this project to a location in your disk.
  • Open the solution file using the Visual Studio 2022.
  • Restore the NuGet packages by rebuilding the solution.
  • Run the project.