BootstrapBlazor.Geolocation 6.2.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package BootstrapBlazor.Geolocation --version 6.2.1                
NuGet\Install-Package BootstrapBlazor.Geolocation -Version 6.2.1                
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="BootstrapBlazor.Geolocation" Version="6.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.Geolocation --version 6.2.1                
#r "nuget: BootstrapBlazor.Geolocation, 6.2.1"                
#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 BootstrapBlazor.Geolocation as a Cake Addin
#addin nuget:?package=BootstrapBlazor.Geolocation&version=6.2.1

// Install BootstrapBlazor.Geolocation as a Cake Tool
#tool nuget:?package=BootstrapBlazor.Geolocation&version=6.2.1                

Blazor Geolocation 定位/持续定位 组件

定位组件

示例:

https://blazor.app1.es/geolocations

使用方法:

1.nuget包

BootstrapBlazor.Geolocation

2._Imports.razor 文件 或者页面添加 添加组件库引用

@using BootstrapBlazor.Components

3.razor页面

<Geolocation OnResult="@OnResult" OnUpdateStatus="@OnUpdateStatus" />

<Badge Color="Color.Warning">@status</Badge>

<Table TItem="Geolocationitem" Items="Items" AutoGenerateColumns="true">
</Table>
@code{

    private string? status { get; set; }
    private Geolocationitem? geolocations { get; set; }
    private List<Geolocationitem> Items { get; set; } = new List<Geolocationitem>() { new Geolocationitem() };

    private Task OnResult(Geolocationitem geolocations)
    {
        this.geolocations = geolocations;
        Items[0] = geolocations;
        StateHasChanged();
        return Task.CompletedTask;
    }

    private Task OnUpdateStatus(string status)
    {
        this.status = status;
        StateHasChanged();
        return Task.CompletedTask;
    } 

} 
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 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on BootstrapBlazor.Geolocation:

Package Downloads
BlazorShared

BlazorMaui , 整合Blazor,BootstrapBlazor UI组件库,Maui的共享跨平台工程示例共享库

BootstrapBlazor.Densen.All

Blazor 组件懒人包

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on BootstrapBlazor.Geolocation:

Repository Stars
densen2014/BlazorMaui
用 c # 和 Razor 创建本机移动应用和桌面应用。使用 Blazor.BB.Maui,可以快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS 的应用。
densen2014/BlazorHybrid
关于BlazorHybrid的一切研究. 用 c # 和 Razor 创建本机移动应用和桌面应用。快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS、Linux 的应用。
Version Downloads Last updated
8.0.1 615 12/9/2023
8.0.0 179 11/15/2023
7.0.3 513 9/20/2023
7.0.2 410 6/6/2023
7.0.1 1,459 12/7/2022
7.0.0 899 11/9/2022
6.2.2 585 10/12/2022
6.2.1 369 10/12/2022
6.2.0 369 10/12/2022