Spillgebees.Blazor.Map 0.17.0

dotnet add package Spillgebees.Blazor.Map --version 0.17.0
                    
NuGet\Install-Package Spillgebees.Blazor.Map -Version 0.17.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Spillgebees.Blazor.Map" Version="0.17.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Spillgebees.Blazor.Map" Version="0.17.0" />
                    
Directory.Packages.props
<PackageReference Include="Spillgebees.Blazor.Map" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Spillgebees.Blazor.Map --version 0.17.0
                    
#r "nuget: Spillgebees.Blazor.Map, 0.17.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Spillgebees.Blazor.Map@0.17.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Spillgebees.Blazor.Map&version=0.17.0
                    
Install as a Cake Addin
#tool nuget:?package=Spillgebees.Blazor.Map&version=0.17.0
                    
Install as a Cake Tool

Spillgebees.Blazor.Map

Spillgebees.Blazor.Map is a Blazor map component powered by MapLibre GL JS.

See the documentation and demos for guides, examples, and live components.

Quick example

<SgbMap MapOptions="@_mapOptions" Height="400px" Width="100%">
    <MapControls>
        <NavigationMapControl />
        <ScaleMapControl />
    </MapControls>

    <MapSources>
        <GeoJsonSource Id="railway" Data="@_railwayGeoJson">
            <LineLayer Id="tracks" Color="#475569" Width="2" />
        </GeoJsonSource>
    </MapSources>

    <MapFeatures>
        <MapMarker Id="luxembourg-city"
                   Position="@(new Coordinate(49.6117, 6.1319))"
                   Title="Luxembourg City"
                   Popup="@_luxembourgPopup" />
    </MapFeatures>
</SgbMap>

@code {
    private readonly MapOptions _mapOptions = new(
        Center: new Coordinate(49.6117, 6.1319),
        Zoom: 12,
        Style: MapStyle.OpenFreeMap.Liberty);

    private readonly string _railwayGeoJson = """
        { "type": "FeatureCollection", "features": [] }
        """;

    private readonly PopupOptions _luxembourgPopup = PopupOptions.FromText("Luxembourg City");
}
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.17.0 100 5/11/2026
0.16.0 105 5/11/2026
0.15.0 106 5/8/2026
0.14.0 106 5/4/2026
0.13.0 123 4/26/2026
0.12.0 117 4/1/2026
0.11.1 104 4/1/2026
0.11.0 110 3/23/2026
0.10.1 120 3/27/2026
0.10.0 129 1/22/2026
0.9.0 114 1/20/2026
0.8.0 250 9/25/2025
0.7.0 228 9/11/2025
0.6.0 227 9/9/2025
0.5.0 221 9/9/2025
0.4.0 214 9/8/2025
0.3.0 220 9/8/2025
0.2.0 237 9/7/2025
0.1.2 194 9/5/2025
Loading failed