BootstrapBlazor.BaiduMap
8.0.0
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BootstrapBlazor.BaiduMap --version 8.0.0
NuGet\Install-Package BootstrapBlazor.BaiduMap -Version 8.0.0
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.BaiduMap" Version="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.BaiduMap --version 8.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BootstrapBlazor.BaiduMap, 8.0.0"
#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.BaiduMap as a Cake Addin #addin nuget:?package=BootstrapBlazor.BaiduMap&version=8.0.0 // Install BootstrapBlazor.BaiduMap as a Cake Tool #tool nuget:?package=BootstrapBlazor.BaiduMap&version=8.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Blazor BaiduMap 百度地图 组件
定位组件
示例:
https://blazor.app1.es/baidumap
使用方法:
1.nuget包
BootstrapBlazor.BaiduMap
2._Imports.razor 文件 或者页面添加 添加组件库引用
@using BootstrapBlazor.Components
3.razor页面
<BaiduMap OnError="@OnError" OnResult="@OnResult" />
@code{
private string message;
private BaiduItem baiduItem;
private Task OnResult(BaiduItem geolocations)
{
baiduItem = geolocations;
this.message = baiduItem.Status;
StateHasChanged();
return Task.CompletedTask;
}
private Task OnError(string message)
{
this.message = message;
StateHasChanged();
return Task.CompletedTask;
}
}
Blazor 组件
AlexChow
Product | Versions 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 is compatible. 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.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
- Microsoft.Extensions.Configuration (>= 6.0.1)
- Microsoft.Extensions.Configuration.UserSecrets (>= 6.0.1)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.UserSecrets (>= 7.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.UserSecrets (>= 8.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on BootstrapBlazor.BaiduMap:
Package | Downloads |
---|---|
BlazorShared
BlazorMaui , 整合Blazor,BootstrapBlazor UI组件库,Maui的共享跨平台工程示例共享库 |
|
BootstrapBlazor.Densen.All
Blazor 组件懒人包 |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on BootstrapBlazor.BaiduMap:
Repository | Stars |
---|---|
densen2014/BlazorMaui
用 c # 和 Razor 创建本机移动应用和桌面应用。使用 Blazor.BB.Maui,可以快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS 的应用。
|