```
feat(map-settings): 新增地图设置面板,支持底图偏好与离线瓦片下载 共享层新增 map_settings 模块,定义 Bounds、Region、Preferences 和 DownloadRequest 数据结构及验证逻辑,单次下载上限 20000 张瓦片。 前端新增独立地图设置视图,包含: - 底图切换(影像/路网)与默认定位点配置 - 地图选点、框选下载范围交互 - 常用区域保存与离线下载任务管理 实时地图适配器改为从 Preferences 读取初始中心点和缩放级别, 使设置面板与工作台地图共享视图状态。 同时微调目标列表行高与 footer 布局,在紧凑模式下隐藏黑名单提示。 ```
This commit is contained in:
+4
-1
@@ -6,7 +6,7 @@ $ridRepo = Split-Path $PSScriptRoot -Parent
|
||||
if (-not $OutputRoot) { $OutputRoot = Join-Path $ridRepo 'dist' }
|
||||
$ridOutputRoot = [IO.Path]::GetFullPath($OutputRoot)
|
||||
$ridDestination = Join-Path $ridOutputRoot 'FPV-RID-Rust'
|
||||
$ridWhitelist = @('fpv-rid-registry.exe', '启动Rust版.cmd', '使用说明.md', 'third-party-licenses.txt', 'dependency-licenses.txt', 'build-info.json', 'SHA256SUMS.txt')
|
||||
$ridWhitelist = @('fpv-rid-registry.exe', 'rid-map-downloader.exe', 'map-downloader-LICENSE.txt', '启动Rust版.cmd', '使用说明.md', 'third-party-licenses.txt', 'dependency-licenses.txt', 'build-info.json', 'SHA256SUMS.txt')
|
||||
|
||||
function Assert-CleanDestination {
|
||||
if (Test-Path -LiteralPath $ridDestination) {
|
||||
@@ -27,6 +27,7 @@ function Get-RidSourceManifest {
|
||||
|
||||
# Refuse a used deployment folder before building or changing any published files.
|
||||
Assert-CleanDestination
|
||||
& (Join-Path $PSScriptRoot 'build-map-downloader.ps1')
|
||||
$ridStageRoot = Join-Path $ridOutputRoot ('.package-' + [guid]::NewGuid().ToString('N'))
|
||||
$ridStage = Join-Path $ridStageRoot 'FPV-RID-Rust'
|
||||
$ridTemporaryZip = Join-Path $ridStageRoot 'release.zip'
|
||||
@@ -46,6 +47,8 @@ try {
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Cargo metadata failed' }
|
||||
New-Item -ItemType Directory -Force -Path $ridStage | Out-Null
|
||||
Copy-Item -LiteralPath (Join-Path $ridMetadata.target_directory 'release/fpv-rid-registry-fullstack.exe') -Destination (Join-Path $ridStage 'fpv-rid-registry.exe')
|
||||
Copy-Item -LiteralPath $env:RID_MAP_DOWNLOADER -Destination (Join-Path $ridStage 'rid-map-downloader.exe')
|
||||
Copy-Item -LiteralPath (Join-Path $PSScriptRoot 'map-downloader/LICENSE-upstream.txt') -Destination (Join-Path $ridStage 'map-downloader-LICENSE.txt')
|
||||
Copy-Item -LiteralPath (Join-Path $ridRepo '启动Rust版.cmd') -Destination $ridStage
|
||||
Copy-Item -LiteralPath (Join-Path $ridRepo 'doc/registry/rust/使用说明.md') -Destination $ridStage
|
||||
Copy-Item -LiteralPath (Join-Path $ridRepo 'crates/web-ui/public/vendor/LICENSE.txt') -Destination (Join-Path $ridStage 'third-party-licenses.txt')
|
||||
|
||||
Reference in New Issue
Block a user