@heycar/heycars-map 0.6.10 → 0.7.0
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/Demo/Demo.d.ts +1 -0
- package/dist/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceSection.d.ts +4 -0
- package/dist/business-components/PassengerCircle/PassengerCircle.d.ts +2 -0
- package/dist/components/Amap/Amap.d.ts +2 -1
- package/dist/hooks/useDeviceOrientation.d.ts +16 -0
- package/dist/hooks/useMapInChina.d.ts +10 -0
- package/dist/hooks/useMapPlace.d.ts +3 -0
- package/dist/hooks/useMapRecomendPlace.d.ts +6 -0
- package/dist/hooks-business/useBusinessRecomendPlaceMap.d.ts +3 -0
- package/dist/index.cjs +1656 -42
- package/dist/index.js +1656 -42
- package/dist/types/interface.d.ts +1 -0
- package/dist/utils/transform.d.ts +6 -0
- package/package.json +1 -1
- package/todo.md +4 -129
|
@@ -18,9 +18,15 @@ export declare const pipeOnlyLastEffect: <P extends any[], R>(fn: (...arg: P) =>
|
|
|
18
18
|
export declare const isPlaceEqual: (p1: Place, p2?: Place) => boolean;
|
|
19
19
|
export declare const isPointEqual: (p1: Point, p2?: Point) => boolean;
|
|
20
20
|
export declare const isGeoPositionEqual: (p1: GeolocationPosition, p2?: GeolocationPosition) => boolean;
|
|
21
|
+
interface AmapPlaceName2DisplayNameOptions extends AMap.AddressComponent {
|
|
22
|
+
isChina: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare const amapPlaceName2DisplayName: (name: string, options: AmapPlaceName2DisplayNameOptions) => string;
|
|
21
25
|
export declare const toPlaceType: (maybePlace: {
|
|
26
|
+
displayName?: string;
|
|
22
27
|
name: string;
|
|
23
28
|
lng: string | number;
|
|
24
29
|
lat: string | number;
|
|
25
30
|
}) => Place;
|
|
26
31
|
export declare const wxGetLocationSuccessResponse2GeolocationPosition: (res: WxGetLocationSuccessResponse) => GeolocationPosition;
|
|
32
|
+
export {};
|
package/package.json
CHANGED
package/todo.md
CHANGED
|
@@ -1,131 +1,6 @@
|
|
|
1
1
|
https://dawchihliou.github.io/articles/building-custom-google-maps-marker-react-component-like-airbnb-in-nextjs
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
二期:
|
|
9
|
-
|
|
10
|
-
1. 绿区数据格式约定
|
|
11
|
-
2. map loading 设计稿
|
|
12
|
-
|
|
13
|
-
缩放问题
|
|
14
|
-
|
|
15
|
-
- 4867
|
|
16
|
-
- 4920
|
|
17
|
-
|
|
18
|
-
章新华
|
|
19
|
-
|
|
20
|
-
- 5238
|
|
21
|
-
|
|
22
|
-
不明白的
|
|
23
|
-
|
|
24
|
-
- 5294
|
|
25
|
-
|
|
26
|
-
需要复现
|
|
27
|
-
|
|
28
|
-
- 5044
|
|
29
|
-
- 5113
|
|
30
|
-
- 5291
|
|
31
|
-
- 5257 我的 safari 没有问题
|
|
32
|
-
|
|
33
|
-
0.4.3
|
|
34
|
-
|
|
35
|
-
- 5105
|
|
36
|
-
|
|
37
|
-
0.4.4
|
|
38
|
-
|
|
39
|
-
- 5057
|
|
40
|
-
|
|
41
|
-
0.4.5
|
|
42
|
-
|
|
43
|
-
- 5215
|
|
44
|
-
|
|
45
|
-
0.4.6
|
|
46
|
-
|
|
47
|
-
- 4824
|
|
48
|
-
- 4809
|
|
49
|
-
- 4836
|
|
50
|
-
- 4915
|
|
51
|
-
- 5228
|
|
52
|
-
|
|
53
|
-
0.4.8
|
|
54
|
-
|
|
55
|
-
- 5014
|
|
56
|
-
|
|
57
|
-
0.4.9
|
|
58
|
-
|
|
59
|
-
- 4903
|
|
60
|
-
- 5006
|
|
61
|
-
- 5017
|
|
62
|
-
- 5238
|
|
63
|
-
|
|
64
|
-
0.5.0
|
|
65
|
-
|
|
66
|
-
- 5284
|
|
67
|
-
- 5314
|
|
68
|
-
- 5313
|
|
69
|
-
- 5297
|
|
70
|
-
- 5277
|
|
71
|
-
- 5244
|
|
72
|
-
- 5198
|
|
73
|
-
- 5173
|
|
74
|
-
- 5168
|
|
75
|
-
|
|
76
|
-
0.5.1
|
|
77
|
-
|
|
78
|
-
- 5303
|
|
79
|
-
- 5329
|
|
80
|
-
- 4769
|
|
81
|
-
- 5044 (跟章新华说下)
|
|
82
|
-
- 5314
|
|
83
|
-
- 5347
|
|
84
|
-
- 5348
|
|
85
|
-
- 5057
|
|
86
|
-
|
|
87
|
-
0.5.3
|
|
88
|
-
|
|
89
|
-
- 4867
|
|
90
|
-
- 4920
|
|
91
|
-
- 5252
|
|
92
|
-
- 5366
|
|
93
|
-
- 5364
|
|
94
|
-
- 5373
|
|
95
|
-
|
|
96
|
-
0.5.4
|
|
97
|
-
|
|
98
|
-
- 5375
|
|
99
|
-
- 4946
|
|
100
|
-
|
|
101
|
-
0.5.5
|
|
102
|
-
|
|
103
|
-
- 4977
|
|
104
|
-
- 5381
|
|
105
|
-
|
|
106
|
-
0.5.6
|
|
107
|
-
|
|
108
|
-
- 5455
|
|
109
|
-
|
|
110
|
-
0.5.9
|
|
111
|
-
|
|
112
|
-
- 5500
|
|
113
|
-
- 5524
|
|
114
|
-
|
|
115
|
-
0.6.3
|
|
116
|
-
|
|
117
|
-
- 5623
|
|
118
|
-
- 5625
|
|
119
|
-
- 5550
|
|
120
|
-
- 5546
|
|
121
|
-
- 5541
|
|
122
|
-
- 5540
|
|
123
|
-
|
|
124
|
-
0.6.5
|
|
125
|
-
|
|
126
|
-
- 5640
|
|
127
|
-
- 5631
|
|
128
|
-
- 5614
|
|
129
|
-
- 5598
|
|
130
|
-
- 5567
|
|
131
|
-
- 5560
|
|
3
|
+
1. Google 地址名称太长
|
|
4
|
+
2. 企业微信如果关闭定位,会不停的跳 geoError 事件
|
|
5
|
+
3. regeo 不应该阻塞 getRecommendPlace
|
|
6
|
+
4. 手机缩放导致 onPlaceChange 触发,并且 getRecommendPlace 也被调用了
|