Spillgebees.Blazor.Map is a Blazor map component powered by Leaflet.
$ dotnet add package Spillgebees.Blazor.MapSpillgebees.Blazor.Map is a Blazor map component powered by Leaflet.
This component comes with a JS initializer, as such it is bootstrapped when Blazor launches.
The only thing you need to do is to add this package's CSS file for styling.
Include it in the head tag:
<link href="_content/Spillgebees.Blazor.Map/Spillgebees.Blazor.Map.lib.module.css"
rel="stylesheet" />
You can take a look at the demo pages for a few general usage examples: net8.0, net9.0, net10.0