An open API service indexing awesome lists of open source software.

https://github.com/hancheester/blazorcore.googlemap

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.
https://github.com/hancheester/blazorcore.googlemap

blazor blazor-applications blazor-client blazor-components blazor-extensions blazor-server js netcore6 wasm

Last synced: 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

## BlazorCore GoogleMap
[![Package Version](https://img.shields.io/nuget/v/BlazorCore.GoogleMap?label=Latest%20Version)](https://www.nuget.org/packages/BlazorCore.GoogleMap/)
[![NuGet Downloads](https://img.shields.io/nuget/dt/BlazorCore.GoogleMap?label=Downloads)](https://www.nuget.org/packages/BlazorCore.GoogleMap/)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/hancheester/BlazorCore.GoogleMap/blob/master/LICENSE)
[![LinkedIn](https://img.shields.io/badge/Linkedin-%230077B5.svg?logo=linkedin&logoColor=white)](https://www.linkedin.com/in/hanchee)

## 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](https://www.nuget.org/packages/BlazorCore.GoogleMap).
```sh
dotnet add package BlazorCore.GoogleMap
```

(back to top)

## Usage
Add using statement to your Blazor `.razor` file. Or globally reference it into _Imports.razor file.

```csharp
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:
- [BlazorCore.JSInterop](https://www.nuget.org/packages/BlazorCore.JSInterop)
which handles JS Interop for Geolocation services.

(back to top)

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

(back to top)

## Contact
Han Chee - [@hancheester](https://x.com/hancheester) - [email protected]

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

(back to top)