BlazorBasics.Maps.Entities
1.2.0
dotnet add package BlazorBasics.Maps.Entities --version 1.2.0
NuGet\Install-Package BlazorBasics.Maps.Entities -Version 1.2.0
<PackageReference Include="BlazorBasics.Maps.Entities" Version="1.2.0" />
<PackageVersion Include="BlazorBasics.Maps.Entities" Version="1.2.0" />
<PackageReference Include="BlazorBasics.Maps.Entities" />
paket add BlazorBasics.Maps.Entities --version 1.2.0
#r "nuget: BlazorBasics.Maps.Entities, 1.2.0"
#:package BlazorBasics.Maps.Entities@1.2.0
#addin nuget:?package=BlazorBasics.Maps.Entities&version=1.2.0
#tool nuget:?package=BlazorBasics.Maps.Entities&version=1.2.0
BlazorBasics.Maps Library Documentation
Overview
The BlazorBasics.Maps library to use common dependencies in BlazorBasics.Maps.Google and BlazorBasics.Maps.Leaflet
Models
The library includes two main models:
AddressDetails:- Represents full address.
- Implement from
IAddressDetails - Properties:
- StreetNumber
- Route
- Neighborhood
- Locality: Typically refers to the city or town name.
- AdministrativeArea: Typically refers to the state, province, or region.
- PostalCode
- Country
PositionPoint:- Represents a geographic coordinate with
LatitudeandLongitude. - Implement from
ILatLongandIEquatable<PositionPoint> - Validates coordinates to ensure they are within valid ranges (
Latitude: -90 to 90,Longitude: -180 to 180). - Example:
var point = new PositionPoint(latitude: 37.7749f, longitude: -122.4194f);
- Represents a geographic coordinate with
MapClickEventArgs:- Event arguments for the OnClick callback. Contains information about the point where the click was made.
- Properties:
- MarkerId: The marker ID if one was clicked; otherwise, null.
- Point: A ILatLong object with the click coordinates.
- Address: A string containing the address formatted at the point of the click (reverse geocoding).
- Details: An IAddressDetails object with the address components broken down.
Interfaces
IAddressDetails- Contains the broken-down components of an address obtained from reverse geocoding.
- Properties:
- StreetNumber
- Route
- Neighborhood
- Locality: (city)
- AdministrativeArea: (state/province)
- Postal Code
- Country
ILatLong- Contains latitude and longitude.
- Properties:
- Latitude
- Longitude
Contributing
If you encounter issues or have suggestions for improvements, please submit an issue or pull request to the repository hosting this library.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
-
net10.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on BlazorBasics.Maps.Entities:
| Package | Downloads |
|---|---|
|
BlazorBasics.Maps.Google
A Blazor component for integrating Google Maps into your applications. Easily display interactive maps, add custom markers, show routes with waypoints, and manage map interactions using a simple C# interface. Requires a Google Maps API key and the Maps JavaScript API. |
|
|
BlazorBasics.Maps.Leaflet
A Blazor component for integrating Leaflet Javascrip Map into your applications. Easily display interactive maps, add custom markers, show routes with waypoints, and manage map interactions using a simple C# interface. |
|
|
BlazorBasics.Maps.Services
A lightweight and efficient Blazor service for interacting with the Browser's **Geolocation API**. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 632 | 11/17/2025 |
First release.