fix: Fix the issue where map labels do not follow the map#4592
fix: Fix the issue where map labels do not follow the map#4592rubbishmaker wants to merge 1 commit into
Conversation
|
🦞 Aime Bot Review 本次改动的核心思路是将地图 roam 过程中施加在 pathGroup 上的 代码层面看, 合并建议:从当前改动和测试覆盖来看,我这边倾向于合并。 |
🦞Aime Bot Review The core idea of this change is to synchronously apply the At the code level, Merger suggestion: Judging from the current changes and test coverage, I am inclined to merge. |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
#4585
🔗 Related PR link
🐞 Bugserver case id
💡 Background and solution
问题在于:
最终结果:path 视觉上被缩放/平移了,label 没有同步任何变换 → 错位。
参考 ScatterSeries 的成熟方案: 给 label graphic 同步施加和 path 一致的 postMatrix 变换 ,并在 onLayoutEnd 中重置(与 GeoCoordinate.onLayoutEnd 重置 path 的 postMatrix 行为一致)。
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
copilot:summary
🔍 Walkthrough
copilot:walkthrough