OpenLayers.Blazor 0.1.0-alpha
OpenLayers.Blazor
This is a map component based on OpenLayers to different compatible maps with some features to set a marker or other shapes. The component has implemented the swiss specific coordination projection (VL03/VL95) and therefore can show content from swisstopo.
Usage
Setup
Download the openlayers distribution js/css files https://github.com/openlayers/openlayers or from other sources and include them in the index.html file:
<head> ... <link href="lib/openlayers/ol.css" rel="stylesheet" /> <link href="_content/OpenLayers.Blazor/OpenLayers.Blazor.css" rel="stylesheet" /> <script src="lib/openlayers/dist/ol.min.js"></script> ... </head>
Examples
<SwissMap OnClick="OnMapClick"></SwissMap>
see demo solution.
No packages depend on OpenLayers.Blazor.
.NET 6.0
- Microsoft.AspNetCore.Components (>= 6.0.16)
- Microsoft.AspNetCore.Components.Web (>= 6.0.16)
.NET 7.0
- Microsoft.AspNetCore.Components (>= 7.0.5)
- Microsoft.AspNetCore.Components.Web (>= 7.0.5)
| Version | Downloads | Last updated |
|---|---|---|
| 2.6.0 | 4 | 09/18/2026 |
| 2.5.0 | 4 | 09/17/2026 |
| 2.4.1 | 6 | 09/11/2026 |
| 2.4.0 | 2 | 09/18/2026 |
| 2.3.1 | 2 | 09/18/2026 |
| 2.3.0 | 4 | 09/17/2026 |
| 2.2.3 | 3 | 09/17/2026 |
| 2.2.2 | 2 | 09/17/2026 |
| 2.2.1 | 3 | 09/18/2026 |
| 2.2.0 | 2 | 09/18/2026 |
| 2.1.0 | 3 | 09/18/2026 |
| 2.0.1 | 4 | 09/17/2026 |
| 2.0.0 | 3 | 09/17/2026 |
| 1.5.10 | 2 | 09/17/2026 |
| 1.5.9 | 3 | 09/18/2026 |
| 1.5.8 | 3 | 09/17/2026 |
| 1.5.7 | 4 | 09/18/2026 |
| 1.5.6 | 3 | 09/17/2026 |
| 1.5.5 | 3 | 09/17/2026 |
| 1.5.4 | 3 | 09/17/2026 |
| 1.5.3 | 3 | 09/17/2026 |
| 1.5.2 | 3 | 09/18/2026 |
| 1.5.1 | 3 | 09/17/2026 |
| 1.5.0 | 3 | 09/17/2026 |
| 1.4.1 | 3 | 09/17/2026 |
| 1.4.0 | 3 | 09/17/2026 |
| 1.3.1 | 3 | 09/17/2026 |
| 1.3.0 | 3 | 09/17/2026 |
| 1.1.0 | 3 | 09/18/2026 |
| 1.0.1 | 3 | 09/17/2026 |
| 1.0.0 | 5 | 09/17/2026 |
| 0.3.0-alpha | 5 | 09/17/2026 |
| 0.2.0-alpha | 3 | 09/17/2026 |
| 0.1.0-alpha | 1 | 09/18/2026 |
| 0.0.0-alpha.0 | 3 | 09/17/2026 |