@heycar/heycars-map 0.9.11 → 0.10.0-graspRoad2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/index.cjs +665 -74
- package/dist/index.js +665 -74
- package/dist/src/api/contants.d.ts +4 -0
- package/dist/src/business-components/AuxiliaryCircle/AuxiliaryCircle.d.ts +11 -0
- package/dist/src/business-components/AuxiliaryCircle/index.d.ts +1 -0
- package/dist/src/business-components/AuxiliaryGraspRoad/AuxiliaryGraspRoad.d.ts +8 -0
- package/dist/src/business-components/AuxiliaryGraspRoad/index.d.ts +1 -0
- package/dist/src/business-components/AuxiliaryLine/AuxiliaryLine.d.ts +11 -0
- package/dist/src/business-components/AuxiliaryLine/index.d.ts +1 -0
- package/dist/src/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceMap.d.ts +2 -1
- package/dist/src/business-components/DeviationCorrectionDrivingRoute/DeviationCorrectionDrivingRoute.d.ts +6 -0
- package/dist/src/business-components/DeviationCorrectionDrivingRoute/index.d.ts +1 -0
- package/dist/src/business-components/GraspRoad/GraspRoad.d.ts +9 -0
- package/dist/src/business-components/GraspRoad/index.d.ts +1 -0
- package/dist/src/business-components/TaxiCar/TaxiCar.d.ts +1 -0
- package/dist/src/components/AmapCircle/AmapCircle.d.ts +2 -0
- package/dist/src/components/AmapCircle/index.d.ts +1 -0
- package/dist/src/components/GmapCircle/GmapCircle.d.ts +3 -0
- package/dist/src/components/GmapCircle/index.d.ts +1 -0
- package/dist/src/hooks/useDeviationCorrectionDrivingRoute.d.ts +24 -0
- package/dist/src/hooks/useDrivingRoute.d.ts +32 -14
- package/dist/src/hooks/useMapAngle.d.ts +12 -3
- package/dist/src/hooks/useMapGCJ02.d.ts +3 -0
- package/dist/src/hooks/useMapGeometry.d.ts +3 -0
- package/dist/src/hooks/useMapGraspRoad.d.ts +17 -0
- package/dist/src/types/interface.d.ts +7 -0
- package/dist/src/types/mapHelper.d.ts +3 -0
- package/dist/src/utils/geometry.d.ts +9 -0
- package/dist/src/utils/mockDriverPositions.d.ts +10 -0
- package/dist/src/utils/transform.d.ts +22 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -526,3 +526,24 @@ export default defineComponent({
|
|
|
526
526
|
...
|
|
527
527
|
</HeycarMap>
|
|
528
528
|
```
|
|
529
|
+
|
|
530
|
+
#### 关于 enableAuxiliaryGraspRoad 模式
|
|
531
|
+
|
|
532
|
+
enableAuxiliaryGraspRoad 模式适用场景:
|
|
533
|
+
|
|
534
|
+
- 测试司机位置偏移 的优化效果
|
|
535
|
+
- 目前只能在国内打车,测试优化效果。
|
|
536
|
+
- 目前只能用 splytech 供应商进行测试。
|
|
537
|
+
|
|
538
|
+
测试时的注意点:
|
|
539
|
+
|
|
540
|
+
1. 起点和终点 在 splytech 后台系统地图上的位置是错误的。
|
|
541
|
+
|
|
542
|
+
为了方便测试 司机位置偏移 的优化效果,在 enableAuxiliaryGraspRoad 模式下会显示下列辅助信息:
|
|
543
|
+
|
|
544
|
+
1. 会显示两个导航路线,蓝色跟设计稿样式一致的是原来的导航路径,红色的是司机位置纠偏以后计算的导航路径。
|
|
545
|
+
2. 会显示两个车辆,跟设计稿样式一致的是原来的车辆,虚影的车辆是司机位置纠偏以后的车辆。
|
|
546
|
+
3. 会将供应商提供的司机位置显示为蓝色标记,辅助观察供应商提供的司机位置。
|
|
547
|
+
4. 会显示一条黑色的路径,表示将供应商提供的位置纠偏以后的路径。
|
|
548
|
+
5. enableAuxiliaryGraspRoad 模式下,为了方便测试,取消了屏幕 15 秒自动调整功能。
|
|
549
|
+
6. enableAuxiliaryGraspRoad 模式下,为了方便测试,取消了终点 100 米内不显示导航路径的功能。
|