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.
- Host: GitHub
- URL: https://github.com/hancheester/blazorcore.googlemap
- Owner: hancheester
- License: apache-2.0
- Created: 2022-11-14T00:58:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-22T14:06:32.000Z (6 months ago)
- Last Synced: 2024-11-22T14:35:35.767Z (6 months ago)
- Topics: blazor, blazor-applications, blazor-client, blazor-components, blazor-extensions, blazor-server, js, netcore6, wasm
- Language: C#
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## BlazorCore GoogleMap
[](https://www.nuget.org/packages/BlazorCore.GoogleMap/)
[](https://www.nuget.org/packages/BlazorCore.GoogleMap/)
[](https://github.com/hancheester/BlazorCore.GoogleMap/blob/master/LICENSE)
[](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
```## 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();
...
}
```### 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.## License
Distributed under the Apache License. See `LICENSE` for more information.## Contact
Han Chee - [@hancheester](https://x.com/hancheester) - [email protected]Project Link: https://github.com/hancheester/BlazorCore.GoogleMap