Repository navigation
fix(map): rebuild the wind particle renderer - #611
Merged
Merged
Conversation
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 7 selected item(s). |
Codecov Report❌ Patch coverage is
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
補上漏掉的 iOS 相依:新 fork 的 推送用了 |
whes1015
force-pushed
the
feat/wind-windy-pipeline
branch
3 times, most recently
from
October 15, 2026 21:33
29e5ae7 to
21a1f60
Compare
Platform: all Fix(zh-Hant): 修正風場粒子在 iOS 上下顛倒、在部分 Android 手機上全部往同一個方向飛 Fix(en-US): wind particles are no longer upside down on iOS or all flying the same way on some Android phones Optimization(zh-Hant): 風場粒子改成較長的流線尾跡,拖動與縮放地圖時跟著地圖移動,不再消失 Optimization(en-US): wind particles leave longer flowing trails and move with the map while you pan or zoom instead of disappearing
whes1015
force-pushed
the
feat/wind-windy-pipeline
branch
from
October 15, 2026 21:34
21a1f60 to
25872c2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
這個 PR 做了什麼
風場粒子在 iOS 上下顛倒,部分 Android 整片往同一個方向飛;拖動、縮放時尾跡會消失。fork 從
48bce744升到a368208e,數值改在原生端,手勢中不再暫停。maplibre_gl、platform interface、web override、pubspec.lock。版本 0.26.2 → 0.27.1。兩個Package.resolved的 MapLibre Native 6.27.0 → 6.28.0。wind_particle_native.dart不再送 tuning。圖層可見且風場有資料就播放。wind_forecast_layer.dart拿掉interacting和手勢 override。暫停會把尾跡清掉,拖完要等它重長。wind_particle_sim.dart改成跟 GPU 同一套的對照,正式版不跑它。釘住連續 zoom(跨過 .5 不再跳一檔)、速度 30 m/s 封頂、靜風編碼成 byte 128、取樣補半格、尾跡每幀留 0.97。平移時尾跡跟著地圖,縮放或旋轉才清空。wind_web_parity_test.dart(對的是舊網頁版調參)。相關 issue
沒有對應的 issue。
怎麼驗
檢查清單
tool/check/commits.sh origin/main..HEAD通過—— commit 訊息就是更新日誌,格式見 commit.md
mise exec -- flutter analyze與mise exec -- flutter test通過—— analyze 已過;這輪 CI 的測試還沒跑完
AppLocalizations,沒有寫死AppSpacing/AppRadius/AppMotion,深色模式看過,文字對比度可接受
—— 沒有 Flutter UI 變更