@heycar/heycars-map 0.2.2 → 0.2.3
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/dist/api/geometry.d.ts +3 -3
- package/dist/business-components/PassengerCircle/PassengerCircle.css.d.ts +14 -1
- package/dist/business-components/PassengerCircle/PassengerCircle.d.ts +1 -0
- package/dist/business-components/PlaceCircle/PlaceCircle.css.d.ts +8 -1
- package/dist/business-components/PlaceCircle/PlaceCircle.d.ts +1 -0
- package/dist/hooks/useDrivingRoute.d.ts +12 -5
- package/dist/hooks/useGeoLocation.d.ts +1 -1
- package/dist/hooks/useMapGeometry.d.ts +10 -0
- package/dist/index.cjs +45 -45
- package/dist/index.d.ts +1 -0
- package/dist/index.js +929 -825
- package/dist/style.css +1 -1
- package/dist/types/interface.d.ts +5 -0
- package/package.json +1 -1
- package/src/api/geometry.ts +3 -4
- package/src/business-components/DrivingRoute/DrivingRoute.tsx +5 -5
- package/src/business-components/PassengerCircle/PassengerCircle.css.ts +19 -6
- package/src/business-components/PassengerCircle/PassengerCircle.tsx +14 -8
- package/src/business-components/PlaceCircle/PlaceCircle.css.ts +14 -4
- package/src/business-components/PlaceCircle/PlaceCircle.tsx +30 -24
- package/src/business-components/WalkingLine/WalkingLine.tsx +6 -2
- package/src/business-components/WalkingRoute/WalkingRoute.tsx +2 -8
- package/src/components/Demo/HeycarDemo.tsx +20 -8
- package/src/hooks/useDrivingRoute.ts +57 -25
- package/src/hooks/useGeoLocation.ts +2 -2
- package/src/hooks/useMapGeometry.ts +27 -0
- package/src/hooks/useMapLoader.ts +1 -1
- package/src/hooks/useWalkingRoute.ts +24 -11
- package/src/index.ts +1 -0
- package/src/types/amap/plugin.d.ts +1 -1
- package/src/types/interface.ts +6 -0
- package/todo.md +10 -5
package/src/types/interface.ts
CHANGED
package/todo.md
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
https://dawchihliou.github.io/articles/building-custom-google-maps-marker-react-component-like-airbnb-in-nextjs
|
|
2
2
|
|
|
3
|
-
0. place [0,0] 不应该查询 推荐地址
|
|
4
|
-
1. map loading place 多次 【0,0】
|
|
5
3
|
2. Google 地址名称太长
|
|
6
4
|
3. 中心点 drag 期间位置
|
|
7
5
|
4. place 需要包含 autocomplete 查询需要的信息
|
|
8
6
|
5. 高德地图加载期间出现大量的请求
|
|
9
7
|
6. google/高德 坐标系转化
|
|
10
|
-
7.
|
|
8
|
+
7. click 事件
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
1. 需要计算用户与上车点的预估时间 导出
|
|
13
|
+
2. 全程时间与距离导出
|
|
14
|
+
3. 司机接单页起点名称怎么显示 ?
|
|
15
|
+
4. passenger 超过 10 公里 fitview 不考虑怎么设计
|
|
16
|
+
5. home 页面用户 出发点与终点小于 200 米,需要提示,需要导出接口
|
|
17
|
+
6. walkingRoute 显示报错
|
|
18
|
+
7. 需要一个手段让 fitview 初始化起作用
|