OpenLayers.Blazor 0.2.0-alpha

This is a prerelease version of OpenLayers.Blazor.
There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenLayers.Blazor --version 0.2.0-alpha
NuGet\Install-Package OpenLayers.Blazor -Version 0.2.0-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenLayers.Blazor" Version="0.2.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenLayers.Blazor --version 0.2.0-alpha
#r "nuget: OpenLayers.Blazor, 0.2.0-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenLayers.Blazor as a Cake Addin
#addin nuget:?package=OpenLayers.Blazor&version=0.2.0-alpha&prerelease

// Install OpenLayers.Blazor as a Cake Tool
#tool nuget:?package=OpenLayers.Blazor&version=0.2.0-alpha&prerelease

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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OpenLayers.Blazor:

Package Downloads
OpenLayers.Blazor.Demo.Components

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.10 313 5/28/2024
1.5.9 475 3/27/2024
1.5.8 82 3/27/2024
1.5.7 382 3/4/2024
1.5.6 215 2/19/2024
1.5.5 122 2/16/2024
1.5.4 101 2/16/2024
1.5.3 154 2/2/2024
1.5.2 133 1/15/2024
1.5.1 149 12/29/2023
1.5.0 221 12/18/2023
1.4.1 329 11/10/2023
1.4.0 154 10/24/2023
1.3.1 161 10/13/2023
1.3.0 109 10/9/2023
1.1.0 321 6/11/2023
1.0.1 161 4/28/2023
1.0.0 738 4/14/2023
0.3.0-alpha 97 4/13/2023
0.2.0-alpha 105 4/12/2023
0.1.0-alpha 117 4/12/2023
0.0.0-alpha.0 74 4/12/2023