![]() |
VOOZH | about |
dotnet add package MeshWeaver.Blazor.GoogleMaps --version 2.5.0
NuGet\Install-Package MeshWeaver.Blazor.GoogleMaps -Version 2.5.0
<PackageReference Include="MeshWeaver.Blazor.GoogleMaps" Version="2.5.0" />
<PackageVersion Include="MeshWeaver.Blazor.GoogleMaps" Version="2.5.0" />Directory.Packages.props
<PackageReference Include="MeshWeaver.Blazor.GoogleMaps" />Project file
paket add MeshWeaver.Blazor.GoogleMaps --version 2.5.0
#r "nuget: MeshWeaver.Blazor.GoogleMaps, 2.5.0"
#:package MeshWeaver.Blazor.GoogleMaps@2.5.0
#addin nuget:?package=MeshWeaver.Blazor.GoogleMaps&version=2.5.0Install as a Cake Addin
#tool nuget:?package=MeshWeaver.Blazor.GoogleMaps&version=2.5.0Install as a Cake Tool
Blazor Server implementation for MeshWeaver Google Maps integration.
This package provides the Blazor Server rendering layer for MeshWeaver's Google Maps controls. It works in conjunction with MeshWeaver.GoogleMaps to deliver interactive map functionality within MeshWeaver applications.
Install the NuGet package:
dotnet add package MeshWeaver.Blazor.GoogleMaps
Add Google Maps to your MeshWeaver hub configuration:
public static MessageHubConfiguration ConfigureHub(this MessageHubConfiguration config)
{
return config.AddGoogleMaps();
}
Configure your Google Maps API key in Program.cs:
builder.Services.Configure<GoogleMapsConfiguration>(options =>
{
options.ApiKey = "your-google-maps-api-key";
});
Create a map control in your layout areas:
public static UiControl CreateMap() =>
new GoogleMapControl
{
Options = new MapOptions
{
Center = new LatLng(37.7749, -122.4194),
Zoom = 12
},
Markers = new[]
{
new MapMarker
{
Position = new LatLng(37.7749, -122.4194),
Title = "San Francisco",
Id = "sf-marker"
}
}
}.WithStyle("height: 400px;");
For complete documentation and examples, see the main .
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-preview1 | 126 | 4/16/2026 |
| 2.5.0 | 218 | 11/3/2025 |
| 2.4.0 | 214 | 10/2/2025 |