升级 SGS 地图 SDK 至 2.4.1
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-13 11:00:04 +08:00
parent 8e187d6d4f
commit e473b6a2a5
18 changed files with 1655 additions and 25 deletions

View File

@@ -1,5 +1,29 @@
# SGS Map SDK Changelog
## [2.4.1] - 2026-07-01
### Phase 2: 高层导航API (2026-07-01)
#### 新增功能
- **POI间导航API**:新增 `planRouteToPoi``planRouteBetweenPois` 方法支持直接通过POI ID完成导航
- **后端能力扩展**:新增 `/routes/plan-to-poi``/routes/plan-between-pois` 接口自动查询POI坐标
- **Manifest能力声明**:新增 `routeToPoi``routeDiagnostics``sdkRuntimeCache` 能力字段
- **错误码标准化**新增路线规划专用错误码1009012000段提供友好的错误提示
### Phase 1: 导航稳定性修复
#### Bug Fixes
- P0-1: Fixed same-floor route not rendering in Handoff mode (currentFloorPointsArray was dead code)
- P0-2: Fixed CLEAR_ROUTE incomplete state cleanup (10 states now fully reset)
- Fixed route overlay when planning consecutive routes
#### Improvements
- Added ON_ROUTE_READY event dispatch after successful PLAN_ROUTE
- Added preferElevator option to RouteOptions
- SDK version bumped to 2.4.1
---
## [2.4.0] - 2026-06-27
### 🚀 新特性 (New Features)