Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 2.09 KB

README.md

File metadata and controls

57 lines (41 loc) · 2.09 KB

BlazorCore GoogleMap

Package Version NuGet Downloads License LinkedIn

About

Blazor components that render Google Maps, encapsulating map control and management within .NET code. These components seamlessly function with both WebAssembly and Server-hosted Blazor models.

Installation

BlazorCore.GoogleMap is available on NuGet.

dotnet add package BlazorCore.GoogleMap

(back to top)

Usage

Add using statement to your Blazor <component/page>.razor file. Or globally reference it into _Imports.razor file.

using BlazorCore.GoogleMap;
using BlazorCore.JSInterop;
...
public static async Task Main(string[] args)
{
  var builder = WebAssemblyHostBuilder.CreateDefault(args);

  builder.Services.AddBlazorCoreJsInterop();
  builder.Services.AddGMapComponent();
  ...
}

(back to top)

Dependences

BlazorCore.GoogleMap package depends on other BlazorGore Nuget packages:

(back to top)

License

Distributed under the Apache License. See LICENSE for more information.

(back to top)

Contact

Han Chee - @hancheester - [email protected]

Project Link: https://github.com/hancheester/BlazorCore.GoogleMap

(back to top)