@cn-map/gaode-react 0.0.0 → 0.0.1
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/LICENSE +21 -21
- package/README.md +304 -3
- package/dist/context-ChPGCKoP.js +100 -0
- package/dist/index.d.ts +610 -0
- package/dist/index.js +2264 -0
- package/dist/loca.d.ts +254 -0
- package/dist/loca.js +784 -0
- package/package.json +74 -7
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
import { APIStatus, APIType, LoadStatus, LoaderOptions } from "@cn-map/gaode-jsapi-loader";
|
|
2
|
+
import { FC, JSX, PropsWithChildren, ReactNode, Ref, RefObject } from "react";
|
|
3
|
+
import { Accessor, AccessorLike, MapEventProps, Nullable } from "@cn-map/gaode-shared/types";
|
|
4
|
+
/**
|
|
5
|
+
* 加载高德地图依赖的 Hook
|
|
6
|
+
* @param {APILoaderOptions} config - 加载高德地图API的配置项
|
|
7
|
+
* @param {boolean} [resetOnUnmount=false] - 组件卸载时是否重置全局 JSAPI 状态
|
|
8
|
+
*/
|
|
9
|
+
declare const useAPILoader: (config: APILoaderOptions, resetOnUnmount?: boolean) => readonly [Record<APIType, APIStatus>, Nullable<Error | Event>];
|
|
10
|
+
interface APILoaderOptions extends Omit<LoaderOptions, "key"> {
|
|
11
|
+
/**
|
|
12
|
+
* key 密钥 您需先[申请密钥(ak)](https://lbs.amap.com/dev/key/app)
|
|
13
|
+
* - [开发文档说明地址](https://lbs.amap.com/api/javascript-api/guide/abc/prepare)
|
|
14
|
+
*
|
|
15
|
+
* 1. 首先,[注册开发者账号](https://lbs.amap.com/dev/id/newuser),成为高德开放平台开发者
|
|
16
|
+
* 2. 登陆之后,在进入「应用管理」 页面「创建新应用」
|
|
17
|
+
* 3. 为应用[添加 Key](https://lbs.amap.com/dev/key/app),「服务平台」一项请选择「 Web 端 ( JSAPI ) 」
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
apiKey: string;
|
|
21
|
+
}
|
|
22
|
+
interface APILoaderProps extends APILoaderOptions {
|
|
23
|
+
/**
|
|
24
|
+
* 组件卸载时是否重置全局 JSAPI 状态
|
|
25
|
+
*
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
resetOnUnmount?: boolean;
|
|
29
|
+
children?: ReactNode | ((...args: ReturnType<typeof useAPILoader>) => ReactNode);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* APILoader 用于加载高德地图依赖
|
|
33
|
+
*/
|
|
34
|
+
export declare const APILoader: ({ children, resetOnUnmount, ...config }: APILoaderProps) => JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* 获取当前API加载状态
|
|
37
|
+
* @param {APIType} type - 获取的API类型
|
|
38
|
+
* @return { APIStatus } - 返回指定类型的加载状态
|
|
39
|
+
*/
|
|
40
|
+
export declare function useAPIStatus(type: APIType): APIStatus;
|
|
41
|
+
/**
|
|
42
|
+
* 获取当前API加载状态
|
|
43
|
+
* @return { Record<APIType, APIStatus> } - 返回所有类型的加载状态
|
|
44
|
+
*/
|
|
45
|
+
export declare function useAPIStatus(): Record<APIType, APIStatus>;
|
|
46
|
+
interface ControlExtraInitOptions {
|
|
47
|
+
/**
|
|
48
|
+
* 地图对象
|
|
49
|
+
*/
|
|
50
|
+
map?: AMap.Map;
|
|
51
|
+
}
|
|
52
|
+
type ControlBarEvents = MapEventProps<AMap.ControlBarEventType, AMap.ControlBar>;
|
|
53
|
+
type ControlBarInitOptions = AMap.ControlBarOptions & ControlExtraInitOptions;
|
|
54
|
+
type ControlBarProps = ControlBarInitOptions & ControlBarEvents & {
|
|
55
|
+
ref?: Ref<AMap.ControlBar>;
|
|
56
|
+
};
|
|
57
|
+
declare const ControlBar: FC<ControlBarProps>;
|
|
58
|
+
type GeolocationEvents = MapEventProps<AMap.GeolocationEventType, AMap.Geolocation>;
|
|
59
|
+
type GeolocationInitOptions = AMap.GeolocationOptions & ControlExtraInitOptions;
|
|
60
|
+
type GeolocationProps = GeolocationInitOptions & GeolocationEvents & {
|
|
61
|
+
ref?: Ref<AMap.Geolocation>;
|
|
62
|
+
};
|
|
63
|
+
declare const Geolocation: FC<GeolocationProps>;
|
|
64
|
+
type HawkEyeEvents = MapEventProps<AMap.HawkEyeEventType, AMap.HawkEye>;
|
|
65
|
+
type HawkEyeInitOptions = AMap.HawkEyeOptions & ControlExtraInitOptions;
|
|
66
|
+
type HawkEyeProps = HawkEyeInitOptions & HawkEyeEvents & {
|
|
67
|
+
ref?: Ref<AMap.HawkEye>;
|
|
68
|
+
};
|
|
69
|
+
declare const HawkEye: FC<HawkEyeProps>;
|
|
70
|
+
type MapTypeEvents = MapEventProps<AMap.MapTypeEventType, AMap.MapType>;
|
|
71
|
+
type MapTypeInitOptions = AMap.MapTypeOptions & ControlExtraInitOptions;
|
|
72
|
+
type MapTypeProps = MapTypeInitOptions & MapTypeEvents & {
|
|
73
|
+
ref?: Ref<AMap.MapType>;
|
|
74
|
+
};
|
|
75
|
+
declare const MapType: FC<MapTypeProps>;
|
|
76
|
+
type ScaleEvents = MapEventProps<AMap.ScaleEventType, AMap.Scale>;
|
|
77
|
+
type ScaleInitOptions = AMap.ScaleOptions & ControlExtraInitOptions;
|
|
78
|
+
type ScaleProps = ScaleInitOptions & ScaleEvents & {
|
|
79
|
+
ref?: Ref<AMap.Scale>;
|
|
80
|
+
};
|
|
81
|
+
declare const Scale: FC<ScaleProps>;
|
|
82
|
+
type ToolBarEvents = MapEventProps<AMap.ToolBarEventType, AMap.ToolBar>;
|
|
83
|
+
type ToolBarInitOptions = AMap.ToolBarOptions & ControlExtraInitOptions;
|
|
84
|
+
type ToolBarProps = ToolBarInitOptions & ToolBarEvents & {
|
|
85
|
+
ref?: Ref<AMap.ToolBar>;
|
|
86
|
+
};
|
|
87
|
+
declare const ToolBar: FC<ToolBarProps>;
|
|
88
|
+
declare function useLazyInit<T>(init: Accessor<T>): T;
|
|
89
|
+
type BuildingsAttributes = Omit<BuildingsInitOptions, "map"> & {
|
|
90
|
+
/**
|
|
91
|
+
* 建筑物图层样式
|
|
92
|
+
*/
|
|
93
|
+
style?: AMap.BuildingsStyleOptions;
|
|
94
|
+
};
|
|
95
|
+
type BuildingsEvents = MapEventProps<AMap.BuildingsEventType, AMap.Buildings>;
|
|
96
|
+
type BuildingsInitOptions = AMap.BuildingsOptions;
|
|
97
|
+
type BuildingsProps = BuildingsInitOptions & BuildingsAttributes & BuildingsEvents & {
|
|
98
|
+
ref?: Ref<AMap.Buildings>;
|
|
99
|
+
};
|
|
100
|
+
declare const Buildings: FC<BuildingsProps>;
|
|
101
|
+
interface CommonProps {
|
|
102
|
+
className?: string;
|
|
103
|
+
style?: import("react").CSSProperties;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* 目标
|
|
107
|
+
*/
|
|
108
|
+
type Target<T> = RefObject<T> | AccessorLike<T>;
|
|
109
|
+
type CanvasLayerEvents = MapEventProps<AMap.CanvasLayerEventType, AMap.CanvasLayer>;
|
|
110
|
+
type CanvasLayerInitOptions = Omit<AMap.CanvasLayerOptions, "canvas"> & {
|
|
111
|
+
/**
|
|
112
|
+
* 画布元素
|
|
113
|
+
*/
|
|
114
|
+
canvas?: Target<HTMLCanvasElement>;
|
|
115
|
+
};
|
|
116
|
+
type CanvasLayerProps = CanvasLayerInitOptions & CanvasLayerEvents & {
|
|
117
|
+
ref?: Ref<AMap.CanvasLayer>;
|
|
118
|
+
};
|
|
119
|
+
declare const CanvasLayer: FC<CanvasLayerProps>;
|
|
120
|
+
type CustomLayerEvents = MapEventProps<AMap.CustomLayerEventType, AMap.CustomLayer>;
|
|
121
|
+
interface CustomLayerExtraInitOptions {
|
|
122
|
+
/**
|
|
123
|
+
* 画布元素/矢量图形元素
|
|
124
|
+
*/
|
|
125
|
+
element: Target<HTMLCanvasElement | SVGSVGElement>;
|
|
126
|
+
}
|
|
127
|
+
type CustomLayerInitOptions = AMap.CustomLayerOptions & CustomLayerExtraInitOptions;
|
|
128
|
+
type CustomLayerProps = CustomLayerInitOptions & CustomLayerEvents & {
|
|
129
|
+
ref?: Ref<AMap.CustomLayer>;
|
|
130
|
+
};
|
|
131
|
+
declare const CustomLayer: FC<CustomLayerProps>;
|
|
132
|
+
type CountryEvents = MapEventProps<AMap.DistrictLayer.CountryEventType, AMap.DistrictLayer.Country>;
|
|
133
|
+
type CountryInitOptions = AMap.DistrictLayer.CountryOptions;
|
|
134
|
+
type CountryProps = CountryInitOptions & CountryEvents & {
|
|
135
|
+
ref?: Ref<AMap.DistrictLayer.Country>;
|
|
136
|
+
};
|
|
137
|
+
declare const Country: FC<CountryProps>;
|
|
138
|
+
type DistrictLayerEvents = MapEventProps<AMap.DistrictLayerEventType, AMap.DistrictLayer>;
|
|
139
|
+
type DistrictLayerInitOptions = AMap.DistrictLayerOptions;
|
|
140
|
+
type DistrictLayerProps = DistrictLayerInitOptions & DistrictLayerEvents & {
|
|
141
|
+
ref?: Ref<AMap.DistrictLayer>;
|
|
142
|
+
};
|
|
143
|
+
declare const DistrictLayer: FC<DistrictLayerProps>;
|
|
144
|
+
type ProvinceEvents = MapEventProps<AMap.DistrictLayer.ProvinceEventType, AMap.DistrictLayer.Province>;
|
|
145
|
+
type ProvinceInitOptions = AMap.DistrictLayer.ProvinceOptions;
|
|
146
|
+
type ProvinceProps = ProvinceInitOptions & ProvinceEvents & {
|
|
147
|
+
ref?: Ref<AMap.DistrictLayer.Province>;
|
|
148
|
+
};
|
|
149
|
+
declare const Province: FC<ProvinceProps>;
|
|
150
|
+
type WorldEvents = MapEventProps<AMap.DistrictLayer.WorldEventType, AMap.DistrictLayer.World>;
|
|
151
|
+
type WorldInitOptions = AMap.DistrictLayer.WorldOptions;
|
|
152
|
+
type WorldProps = WorldInitOptions & WorldEvents & {
|
|
153
|
+
ref?: Ref<AMap.DistrictLayer.World>;
|
|
154
|
+
};
|
|
155
|
+
declare const World: FC<WorldProps>;
|
|
156
|
+
type GLCustomLayerEvents = MapEventProps<AMap.GLCustomLayerEventType, AMap.GLCustomLayer>;
|
|
157
|
+
type GLCustomLayerInitOptions = AMap.GLCustomLayerOptions;
|
|
158
|
+
type GLCustomLayerProps = GLCustomLayerInitOptions & GLCustomLayerEvents & {
|
|
159
|
+
ref?: Ref<AMap.GLCustomLayer>;
|
|
160
|
+
};
|
|
161
|
+
declare const GLCustomLayer: FC<GLCustomLayerProps>;
|
|
162
|
+
type HeatMapAttributes = AMap.HeatMapOptions & {
|
|
163
|
+
dataset?: AMap.HeatMapDataSet | AMap.HeatMapDataSetLive;
|
|
164
|
+
};
|
|
165
|
+
type HeatMapInitOptions = HeatMapAttributes & {
|
|
166
|
+
map?: AMap.Map;
|
|
167
|
+
};
|
|
168
|
+
type HeatMapProps = HeatMapInitOptions & {
|
|
169
|
+
ref?: Ref<AMap.HeatMap>;
|
|
170
|
+
};
|
|
171
|
+
declare const HeatMap: FC<HeatMapProps>;
|
|
172
|
+
type ImageLayerEvents = MapEventProps<AMap.ImageLayerEventType, AMap.ImageLayer>;
|
|
173
|
+
type ImageLayerInitOptions = AMap.ImageLayerOptions;
|
|
174
|
+
type ImageLayerProps = ImageLayerInitOptions & ImageLayerEvents & {
|
|
175
|
+
ref?: Ref<AMap.ImageLayer>;
|
|
176
|
+
};
|
|
177
|
+
declare const ImageLayer: FC<ImageLayerProps>;
|
|
178
|
+
type IndoorMapEvents = MapEventProps<AMap.IndoorMapEventType, AMap.IndoorMap>;
|
|
179
|
+
interface IndoorMapExtraInitOptions {
|
|
180
|
+
/**
|
|
181
|
+
* 建筑物 POI ID
|
|
182
|
+
*/
|
|
183
|
+
POIId?: string;
|
|
184
|
+
/**
|
|
185
|
+
* 楼层
|
|
186
|
+
*/
|
|
187
|
+
floor?: number;
|
|
188
|
+
}
|
|
189
|
+
type IndoorMapInitOptions = AMap.IndoorMapOptions & IndoorMapExtraInitOptions;
|
|
190
|
+
type IndoorMapProps = IndoorMapInitOptions & IndoorMapEvents & {
|
|
191
|
+
ref?: Ref<AMap.IndoorMap>;
|
|
192
|
+
};
|
|
193
|
+
declare const IndoorMap: FC<IndoorMapProps>;
|
|
194
|
+
/**
|
|
195
|
+
* 获取LabelsLayer实例 hook
|
|
196
|
+
*/
|
|
197
|
+
export declare function useLabelsLayer(): AMap.LabelsLayer;
|
|
198
|
+
type LabelsLayerEvents<ExtData = any> = MapEventProps<AMap.LabelsLayerEventType, AMap.LabelsLayer<ExtData>>;
|
|
199
|
+
interface LabelsLayerExtraInitOptions<ExtData = any> {
|
|
200
|
+
/**
|
|
201
|
+
* 标注点集合
|
|
202
|
+
*/
|
|
203
|
+
labelMarkers?: AMap.LabelMarker<ExtData>[];
|
|
204
|
+
}
|
|
205
|
+
type LabelsLayerInitOptions<ExtData = any> = AMap.LabelsLayerOptions & LabelsLayerExtraInitOptions<ExtData>;
|
|
206
|
+
type LabelsLayerProps<ExtData = any> = PropsWithChildren<LabelsLayerInitOptions<ExtData> & LabelsLayerEvents<ExtData> & {
|
|
207
|
+
ref?: Ref<AMap.LabelsLayer<ExtData>>;
|
|
208
|
+
}>;
|
|
209
|
+
declare const LabelsLayer: <ExtData = any>({ ref, map: _map, children, labelMarkers, ...props }: LabelsLayerProps<ExtData>) => JSX.Element | null;
|
|
210
|
+
type LayerGroupEvents = MapEventProps<AMap.LayerGroupEventType, AMap.LayerGroupLayer>;
|
|
211
|
+
interface LayerGroupExtraInitOptions {
|
|
212
|
+
map?: AMap.Map;
|
|
213
|
+
}
|
|
214
|
+
type LayerGroupInitOptions = LayerGroupExtraInitOptions & LayerGroupEvents & {
|
|
215
|
+
visible?: boolean;
|
|
216
|
+
layers?: AMap.LayerGroupLayer[];
|
|
217
|
+
};
|
|
218
|
+
type LayerGroupProps = LayerGroupInitOptions & {
|
|
219
|
+
ref?: Ref<AMap.LayerGroup>;
|
|
220
|
+
};
|
|
221
|
+
declare const LayerGroup: FC<LayerGroupProps>;
|
|
222
|
+
type MapboxEvents = MapEventProps<AMap.MapboxEventType, AMap.Mapbox>;
|
|
223
|
+
type MapboxInitOptions = AMap.MapboxOptions;
|
|
224
|
+
type MapboxProps = PropsWithChildren<MapboxInitOptions & MapboxEvents> & {
|
|
225
|
+
ref?: Ref<AMap.Mapbox>;
|
|
226
|
+
};
|
|
227
|
+
declare const Mapbox: FC<MapboxProps>;
|
|
228
|
+
type MapboxVectorTileLayerEvents = MapEventProps<AMap.MapboxVectorTileLayerEventType, AMap.MapboxVectorTileLayer>;
|
|
229
|
+
type MapboxVectorTileLayerInitOptions = AMap.MapboxVectorTileLayerOptions;
|
|
230
|
+
type MapboxVectorTileLayerProps = MapboxVectorTileLayerInitOptions & MapboxVectorTileLayerEvents & {
|
|
231
|
+
ref?: Ref<AMap.MapboxVectorTileLayer>;
|
|
232
|
+
};
|
|
233
|
+
declare const MapboxVectorTileLayer: FC<MapboxVectorTileLayerProps>;
|
|
234
|
+
type FlexibleEvents = MapEventProps<AMap.TileLayer.FlexibleEventType, AMap.TileLayer.Flexible>;
|
|
235
|
+
type FlexibleInitOptions = AMap.TileLayer.FlexibleOptions;
|
|
236
|
+
type FlexibleProps = FlexibleInitOptions & FlexibleEvents & {
|
|
237
|
+
ref?: Ref<AMap.TileLayer.Flexible>;
|
|
238
|
+
};
|
|
239
|
+
declare const Flexible: FC<FlexibleProps>;
|
|
240
|
+
type MarkEvents = MapEventProps<AMap.TileLayer.MarkEventType, AMap.TileLayer.Mark>;
|
|
241
|
+
type MarkInitOptions = AMap.TileLayer.MarkOptions;
|
|
242
|
+
type MarkProps = MarkInitOptions & MarkEvents & {
|
|
243
|
+
ref?: Ref<AMap.TileLayer.Mark>;
|
|
244
|
+
};
|
|
245
|
+
declare const Mark: FC<MarkProps>;
|
|
246
|
+
type RoadNetEvents = MapEventProps<AMap.TileLayer.RoadNetEventType, AMap.TileLayer.RoadNet>;
|
|
247
|
+
type RoadNetInitOptions = AMap.TileLayer.RoadNetOptions;
|
|
248
|
+
type RoadNetProps = RoadNetInitOptions & RoadNetEvents & {
|
|
249
|
+
ref?: Ref<AMap.TileLayer.RoadNet>;
|
|
250
|
+
};
|
|
251
|
+
declare const RoadNet: FC<RoadNetProps>;
|
|
252
|
+
type SatelliteEvents = MapEventProps<AMap.TileLayer.SatelliteEventType, AMap.TileLayer.Satellite>;
|
|
253
|
+
type SatelliteInitOptions = AMap.TileLayer.SatelliteOptions;
|
|
254
|
+
type SatelliteProps = SatelliteInitOptions & SatelliteEvents & {
|
|
255
|
+
ref?: Ref<AMap.TileLayer.Satellite>;
|
|
256
|
+
};
|
|
257
|
+
declare const Satellite: FC<SatelliteProps>;
|
|
258
|
+
type TileLayerEvents = MapEventProps<AMap.TileLayerEventType, AMap.TileLayer>;
|
|
259
|
+
type TileLayerInitOptions = AMap.TileLayerOptions;
|
|
260
|
+
type TileLayerProps = TileLayerInitOptions & TileLayerEvents & {
|
|
261
|
+
ref?: Ref<AMap.TileLayer>;
|
|
262
|
+
};
|
|
263
|
+
declare const TileLayer: FC<TileLayerProps>;
|
|
264
|
+
type TrafficEvents = MapEventProps<AMap.TileLayer.TrafficEventType, AMap.TileLayer.Traffic>;
|
|
265
|
+
type TrafficInitOptions = AMap.TileLayer.TrafficOptions;
|
|
266
|
+
type TrafficProps = TrafficInitOptions & TrafficEvents & {
|
|
267
|
+
ref?: Ref<AMap.TileLayer.Traffic>;
|
|
268
|
+
};
|
|
269
|
+
declare const Traffic: FC<TrafficProps>;
|
|
270
|
+
type WMSEvents = MapEventProps<AMap.TileLayer.WMSEventType, AMap.TileLayer.WMS>;
|
|
271
|
+
type WMSInitOptions = AMap.TileLayer.WMSOptions;
|
|
272
|
+
type WMSProps = WMSInitOptions & WMSEvents & {
|
|
273
|
+
ref?: Ref<AMap.TileLayer.WMS>;
|
|
274
|
+
};
|
|
275
|
+
declare const Wms: FC<WMSProps>;
|
|
276
|
+
type WMTSEvents = MapEventProps<AMap.TileLayer.WMTSEventType, AMap.TileLayer.WMTS>;
|
|
277
|
+
type WMTSInitOptions = AMap.TileLayer.WMTSOptions;
|
|
278
|
+
type WMTSProps = WMTSInitOptions & WMTSEvents & {
|
|
279
|
+
ref?: Ref<AMap.TileLayer.WMTS>;
|
|
280
|
+
};
|
|
281
|
+
declare const Wmts: FC<WMTSProps>;
|
|
282
|
+
/**
|
|
283
|
+
* 获取VectorLayer实例 hook
|
|
284
|
+
*/
|
|
285
|
+
export declare function useVectorLayer(): AMap.VectorLayer;
|
|
286
|
+
type VectorLayerInitOptions = AMap.VectorLayerOptions;
|
|
287
|
+
type VectorLayerProps<ExtData = any> = PropsWithChildren<VectorLayerInitOptions & {
|
|
288
|
+
ref?: Ref<AMap.VectorLayer<ExtData>>;
|
|
289
|
+
}>;
|
|
290
|
+
declare const VectorLayer: <ExtData = any>({ ref, map: _map, children, ...props }: VectorLayerProps<ExtData>) => JSX.Element;
|
|
291
|
+
/**
|
|
292
|
+
* 获取地图实例 hook
|
|
293
|
+
*/
|
|
294
|
+
export declare function useMap(): Nullable<AMap.Map>;
|
|
295
|
+
/**
|
|
296
|
+
* 获取合并props的地图实例
|
|
297
|
+
*/
|
|
298
|
+
export declare function useMapInstance(mapInProps?: Nullable<AMap.Map>): Nullable<AMap.Map>;
|
|
299
|
+
type MapEvents = MapEventProps<AMap.MapEventType, AMap.Map>;
|
|
300
|
+
interface MapContainer {
|
|
301
|
+
/**
|
|
302
|
+
* 地图容器元素 或 容器 id
|
|
303
|
+
*/
|
|
304
|
+
container?: AccessorLike<HTMLDivElement> | string;
|
|
305
|
+
}
|
|
306
|
+
type SetOption = "center" | "zoom" | "rotation" | "pitch";
|
|
307
|
+
interface MapSetOptions {
|
|
308
|
+
/**
|
|
309
|
+
* 镜头是否立即过渡到目标位置, 支持单独设置
|
|
310
|
+
*/
|
|
311
|
+
immediately?: boolean | Partial<Record<SetOption, boolean>>;
|
|
312
|
+
/**
|
|
313
|
+
* 镜头动画时长,支持单独设置
|
|
314
|
+
*/
|
|
315
|
+
duration?: number | Partial<Record<SetOption, number>>;
|
|
316
|
+
}
|
|
317
|
+
type MapInitOptions = AMap.MapOptions & MapContainer;
|
|
318
|
+
type MapProps = PropsWithChildren<MapInitOptions & Partial<Pick<HTMLDivElement, "id">> & MapSetOptions & CommonProps & MapEvents & {
|
|
319
|
+
ref?: Ref<Nullable<AMap.Map>>;
|
|
320
|
+
}>;
|
|
321
|
+
declare const Map: FC<MapProps>;
|
|
322
|
+
interface VectorOverlayExtraInitOptions {
|
|
323
|
+
/**
|
|
324
|
+
* 地图对象
|
|
325
|
+
*/
|
|
326
|
+
map?: AMap.Map;
|
|
327
|
+
/**
|
|
328
|
+
* 是否可见
|
|
329
|
+
*/
|
|
330
|
+
visible?: boolean;
|
|
331
|
+
}
|
|
332
|
+
type BezierCurveEvents<ExtData> = MapEventProps<AMap.BezierCurveEventType, AMap.BezierCurve<ExtData>>;
|
|
333
|
+
type BezierCurveInitOptions<ExtData = any> = AMap.BezierCurveOptions<ExtData> & VectorOverlayExtraInitOptions;
|
|
334
|
+
type BezierCurveProps<ExtData = any> = BezierCurveInitOptions<ExtData> & BezierCurveEvents<ExtData> & {
|
|
335
|
+
ref?: Ref<AMap.BezierCurve<ExtData>>;
|
|
336
|
+
};
|
|
337
|
+
declare const BezierCurve: <ExtData = any>({ ref, map: _map, ...props }: BezierCurveProps<ExtData>) => null;
|
|
338
|
+
type CircleEvents<ExtData> = MapEventProps<AMap.CircleEventType, AMap.Circle<ExtData>>;
|
|
339
|
+
type CircleInitOptions<ExtData = any> = AMap.CircleOptions<ExtData> & VectorOverlayExtraInitOptions;
|
|
340
|
+
type CircleProps<ExtData = any> = CircleInitOptions<ExtData> & CircleEvents<ExtData> & {
|
|
341
|
+
ref?: Ref<AMap.Circle<ExtData>>;
|
|
342
|
+
};
|
|
343
|
+
declare const Circle: <ExtData = any>({ ref, map: _map, ...props }: CircleProps<ExtData>) => null;
|
|
344
|
+
type CircleMarkerEvents<ExtData> = MapEventProps<AMap.CircleMarkerEventType, AMap.CircleMarker<ExtData>>;
|
|
345
|
+
type CircleMarkerInitOptions<ExtData> = AMap.CircleMarkerOptions<ExtData> & VectorOverlayExtraInitOptions;
|
|
346
|
+
type CircleMarkerProps<ExtData = any> = CircleMarkerInitOptions<ExtData> & CircleMarkerEvents<ExtData> & {
|
|
347
|
+
ref?: Ref<AMap.CircleMarker<ExtData>>;
|
|
348
|
+
};
|
|
349
|
+
declare const CircleMarker: <ExtData = any>({ ref, map: _map, ...props }: CircleMarkerProps<ExtData>) => null;
|
|
350
|
+
type ContextMenuEvents = MapEventProps<AMap.ContextMenuEventType, AMap.ContextMenu>;
|
|
351
|
+
type ContextMenuInitOptions = AMap.ContextMenuOptions;
|
|
352
|
+
type ContextMenuProps = PropsWithChildren<ContextMenuInitOptions & ContextMenuEvents> & {
|
|
353
|
+
ref?: Ref<AMap.ContextMenu>;
|
|
354
|
+
};
|
|
355
|
+
declare const ContextMenu: FC<ContextMenuProps>;
|
|
356
|
+
type MarkerEvents<ExtData> = MapEventProps<AMap.MarkerEventType, AMap.Marker<ExtData>>;
|
|
357
|
+
interface MarkerExtraInitOptions {
|
|
358
|
+
/**
|
|
359
|
+
* 是否置顶
|
|
360
|
+
*/
|
|
361
|
+
isTop?: boolean;
|
|
362
|
+
}
|
|
363
|
+
type MarkerInitOptions<ExtData> = AMap.MarkerOptions<ExtData> & MarkerExtraInitOptions;
|
|
364
|
+
type MarkerProps<ExtData = any> = PropsWithChildren<MarkerInitOptions<ExtData> & MarkerEvents<ExtData> & {
|
|
365
|
+
ref?: Ref<AMap.Marker<ExtData>>;
|
|
366
|
+
}>;
|
|
367
|
+
declare const Marker: <ExtData = any>({ ref, map: _map, children, ...props }: MarkerProps<ExtData>) => JSX.Element | null;
|
|
368
|
+
type ElasticMarkerEvents<ExtData> = MapEventProps<AMap.ElasticMarkerEventType, AMap.ElasticMarker<ExtData>>;
|
|
369
|
+
type ElasticMarkerInitOptions<ExtData> = AMap.ElasticMarkerOptions<ExtData> & MarkerExtraInitOptions;
|
|
370
|
+
type ElasticMarkerProps<ExtData = any> = ElasticMarkerInitOptions<ExtData> & ElasticMarkerEvents<ExtData> & {
|
|
371
|
+
ref?: Ref<AMap.ElasticMarker<ExtData>>;
|
|
372
|
+
};
|
|
373
|
+
declare const ElasticMarker: <ExtData = any>({ ref, map: _map, ...props }: ElasticMarkerProps<ExtData>) => JSX.Element | null;
|
|
374
|
+
type EllipseEvents<ExtData> = MapEventProps<AMap.EllipseEventType, AMap.Ellipse<ExtData>>;
|
|
375
|
+
type EllipseInitOptions<ExtData = any> = AMap.EllipseOptions<ExtData> & VectorOverlayExtraInitOptions;
|
|
376
|
+
type EllipseProps<ExtData = any> = EllipseInitOptions<ExtData> & EllipseEvents<ExtData> & {
|
|
377
|
+
ref?: Ref<AMap.Ellipse<ExtData>>;
|
|
378
|
+
};
|
|
379
|
+
declare const Ellipse: <ExtData = any>({ ref, map: _map, ...props }: EllipseProps<ExtData>) => null;
|
|
380
|
+
type IndexClusterEvents = MapEventProps<AMap.IndexClusterEventType, AMap.IndexCluster>;
|
|
381
|
+
interface IndexClusterExtraInitOptions {
|
|
382
|
+
/**
|
|
383
|
+
* 点标记聚合数据项
|
|
384
|
+
*/
|
|
385
|
+
data: AMap.IndexClusterDataOptions[];
|
|
386
|
+
/**
|
|
387
|
+
* 地图对象
|
|
388
|
+
*/
|
|
389
|
+
map?: AMap.Map;
|
|
390
|
+
}
|
|
391
|
+
type IndexClusterInitOptions = AMap.IndexClusterOptions & IndexClusterExtraInitOptions;
|
|
392
|
+
type IndexClusterProps = IndexClusterInitOptions & IndexClusterEvents & {
|
|
393
|
+
ref?: Ref<AMap.IndexCluster>;
|
|
394
|
+
};
|
|
395
|
+
declare const IndexCluster: FC<IndexClusterProps>;
|
|
396
|
+
type InfoWindowEvents<ExtData> = MapEventProps<AMap.InfoWindowEventType, AMap.InfoWindow<ExtData>>;
|
|
397
|
+
type InfoWindowInitOptions<ExtData = any> = AMap.InfoWindowOptions<ExtData>;
|
|
398
|
+
type InfoWindowProps<ExtData = any> = PropsWithChildren<InfoWindowInitOptions<ExtData> & InfoWindowEvents<ExtData> & {
|
|
399
|
+
ref?: Ref<AMap.InfoWindow<ExtData>>;
|
|
400
|
+
}>;
|
|
401
|
+
declare const InfoWindow: <ExtData = any>({ ref, map: _map, children, ...props }: InfoWindowProps<ExtData>) => JSX.Element | null;
|
|
402
|
+
type LabelMarkerEvents<ExtData> = MapEventProps<AMap.LabelMarkerEventType, AMap.LabelMarker<ExtData>>;
|
|
403
|
+
interface LabelMarkerExtraInitOptions {
|
|
404
|
+
/**
|
|
405
|
+
* 是否置顶
|
|
406
|
+
*/
|
|
407
|
+
isTop?: boolean;
|
|
408
|
+
}
|
|
409
|
+
type LabelMarkerInitOptions<ExtData = any> = AMap.LabelMarkerOptions<ExtData> & LabelMarkerExtraInitOptions;
|
|
410
|
+
type LabelMarkerProps<ExtData = any> = LabelMarkerInitOptions<ExtData> & LabelMarkerEvents<ExtData> & {
|
|
411
|
+
ref?: Ref<AMap.LabelMarker<ExtData>>;
|
|
412
|
+
};
|
|
413
|
+
declare const LabelMarker: <ExtData = any>({ ref, ...props }: LabelMarkerProps<ExtData>) => null;
|
|
414
|
+
type MarkerClusterEvents = MapEventProps<AMap.MarkerClusterEventType, AMap.MarkerCluster>;
|
|
415
|
+
interface MarkerClusterExtraInitOptions {
|
|
416
|
+
/**
|
|
417
|
+
* 点标记聚合数据项
|
|
418
|
+
*/
|
|
419
|
+
data: AMap.MarkerClusterDataOptions[];
|
|
420
|
+
/**
|
|
421
|
+
* 地图对象
|
|
422
|
+
*/
|
|
423
|
+
map?: AMap.Map;
|
|
424
|
+
}
|
|
425
|
+
type MarkerClusterInitOptions = AMap.MarkerClusterOptions & MarkerClusterExtraInitOptions;
|
|
426
|
+
type MarkerClusterProps = MarkerClusterInitOptions & MarkerClusterEvents & {
|
|
427
|
+
ref?: Ref<AMap.MarkerCluster>;
|
|
428
|
+
};
|
|
429
|
+
declare const MarkerCluster: FC<MarkerClusterProps>;
|
|
430
|
+
type MassMarksEvents = MapEventProps<AMap.MassMarksEventType, AMap.MassMarks>;
|
|
431
|
+
interface MassMarksExtraInitOptions {
|
|
432
|
+
/**
|
|
433
|
+
* 海量点数据参数
|
|
434
|
+
*/
|
|
435
|
+
data: AMap.MassMarksDataOptions[];
|
|
436
|
+
/**
|
|
437
|
+
* 地图对象
|
|
438
|
+
*/
|
|
439
|
+
map?: AMap.Map;
|
|
440
|
+
}
|
|
441
|
+
type MassMarksInitOptions = AMap.MassMarksOptions & MassMarksExtraInitOptions;
|
|
442
|
+
type MassMarksProps = MassMarksInitOptions & MassMarksEvents & {
|
|
443
|
+
ref?: Ref<AMap.MassMarks>;
|
|
444
|
+
};
|
|
445
|
+
declare const MassMarks: FC<MassMarksProps>;
|
|
446
|
+
type OverlayGroupEvents<ExtData> = MapEventProps<AMap.OverlayGroupEventType, AMap.OverlayGroupOverlay<ExtData>>;
|
|
447
|
+
type OverlayGroupInitOptions<ExtData> = {
|
|
448
|
+
/**
|
|
449
|
+
* 覆盖物集合
|
|
450
|
+
*/
|
|
451
|
+
overlays?: AMap.OverlayGroupOverlay<ExtData>[];
|
|
452
|
+
} & VectorOverlayExtraInitOptions & OverlayGroupEvents<ExtData>;
|
|
453
|
+
type OverlayGroupProps<ExtData = any> = OverlayGroupInitOptions<ExtData> & {
|
|
454
|
+
ref?: Ref<AMap.OverlayGroup<ExtData>>;
|
|
455
|
+
};
|
|
456
|
+
declare const OverlayGroup: <ExtData = any>({ ref, visible, map: _map, overlays, ...props }: OverlayGroupProps<ExtData>) => null;
|
|
457
|
+
type PolygonEvents<ExtData> = MapEventProps<AMap.PolygonEventType, AMap.Polygon<ExtData>>;
|
|
458
|
+
type PolygonInitOptions<ExtData = any> = AMap.PolygonOptions<ExtData> & VectorOverlayExtraInitOptions;
|
|
459
|
+
type PolygonProps<ExtData = any> = PolygonInitOptions<ExtData> & PolygonEvents<ExtData> & {
|
|
460
|
+
ref?: Ref<AMap.Polygon<ExtData>>;
|
|
461
|
+
};
|
|
462
|
+
declare const Polygon: <ExtData = any>({ ref, map: _map, ...props }: PolygonProps<ExtData>) => null;
|
|
463
|
+
type PolylineEvents<ExtData> = MapEventProps<AMap.PolylineEventType, AMap.Polyline<ExtData>>;
|
|
464
|
+
type PolylineInitOptions<ExtData = any> = AMap.PolylineOptions<ExtData> & VectorOverlayExtraInitOptions;
|
|
465
|
+
type PolylineProps<ExtData = any> = PolylineInitOptions<ExtData> & PolylineEvents<ExtData> & {
|
|
466
|
+
ref?: Ref<AMap.Polyline<ExtData>>;
|
|
467
|
+
};
|
|
468
|
+
declare const Polyline: <ExtData = any>({ ref, map: _map, ...props }: PolylineProps<ExtData>) => null;
|
|
469
|
+
type RectangleEvents<ExtData> = MapEventProps<AMap.RectangleEventType, AMap.Rectangle<ExtData>>;
|
|
470
|
+
type RectangleInitOptions<ExtData = any> = AMap.RectangleOptions<ExtData> & VectorOverlayExtraInitOptions;
|
|
471
|
+
type RectangleProps<ExtData = any> = RectangleInitOptions<ExtData> & RectangleEvents<ExtData> & {
|
|
472
|
+
ref?: Ref<AMap.Rectangle<ExtData>>;
|
|
473
|
+
};
|
|
474
|
+
declare const Rectangle: <ExtData = any>({ ref, map: _map, ...props }: RectangleProps<ExtData>) => null;
|
|
475
|
+
type TextEvents<ExtData> = MapEventProps<AMap.TextEventType, AMap.Text<ExtData>>;
|
|
476
|
+
type TextInitOptions<ExtData> = AMap.TextOptions<ExtData> & MarkerExtraInitOptions;
|
|
477
|
+
type TextProps<ExtData = any> = PropsWithChildren<TextInitOptions<ExtData> & TextEvents<ExtData> & {
|
|
478
|
+
ref?: Ref<AMap.Text<ExtData>>;
|
|
479
|
+
}>;
|
|
480
|
+
declare const Text: <ExtData = any>({ ref, map: _map, children, ...props }: TextProps<ExtData>) => JSX.Element | null;
|
|
481
|
+
type BezierCurveEditorEvents = MapEventProps<AMap.BezierCurveEditorEventType, AMap.BezierCurveEditor>;
|
|
482
|
+
interface BezierCurveEditorExtraInitOptions {
|
|
483
|
+
/**
|
|
484
|
+
* 地图对象
|
|
485
|
+
*/
|
|
486
|
+
map?: AMap.Map;
|
|
487
|
+
/**
|
|
488
|
+
* 要编辑的贝塞尔曲线对象
|
|
489
|
+
*/
|
|
490
|
+
target?: Target<Nullable<AMap.BezierCurve>>;
|
|
491
|
+
}
|
|
492
|
+
type BezierCurveEditorInitOptions = AMap.BezierCurveEditorOptions & BezierCurveEditorExtraInitOptions;
|
|
493
|
+
type BezierCurveEditorProps = BezierCurveEditorInitOptions & BezierCurveEditorEvents & {
|
|
494
|
+
ref?: Ref<Nullable<AMap.BezierCurveEditor>>;
|
|
495
|
+
};
|
|
496
|
+
declare const BezierCurveEditor: FC<BezierCurveEditorProps>;
|
|
497
|
+
type CircleEditorEvents = MapEventProps<AMap.CircleEditorEventType, AMap.CircleEditor>;
|
|
498
|
+
interface CircleEditorExtraInitOptions {
|
|
499
|
+
/**
|
|
500
|
+
* 地图对象
|
|
501
|
+
*/
|
|
502
|
+
map?: AMap.Map;
|
|
503
|
+
/**
|
|
504
|
+
* 要编辑的圆对象
|
|
505
|
+
*/
|
|
506
|
+
target?: Target<Nullable<AMap.Circle>>;
|
|
507
|
+
}
|
|
508
|
+
type CircleEditorInitOptions = AMap.CircleEditorOptions & CircleEditorExtraInitOptions;
|
|
509
|
+
type CircleEditorProps = CircleEditorInitOptions & CircleEditorEvents & {
|
|
510
|
+
ref?: Ref<Nullable<AMap.CircleEditor>>;
|
|
511
|
+
};
|
|
512
|
+
declare const CircleEditor: FC<CircleEditorProps>;
|
|
513
|
+
type EllipseEditorEvents = MapEventProps<AMap.EllipseEditorEventType, AMap.EllipseEditor>;
|
|
514
|
+
interface EllipseEditorExtraInitOptions {
|
|
515
|
+
/**
|
|
516
|
+
* 地图对象
|
|
517
|
+
*/
|
|
518
|
+
map?: AMap.Map;
|
|
519
|
+
/**
|
|
520
|
+
* 要编辑的椭圆对象
|
|
521
|
+
*/
|
|
522
|
+
target?: Target<Nullable<AMap.Ellipse>>;
|
|
523
|
+
}
|
|
524
|
+
type EllipseEditorInitOptions = AMap.EllipseEditorOptions & EllipseEditorExtraInitOptions;
|
|
525
|
+
type EllipseEditorProps = EllipseEditorInitOptions & EllipseEditorEvents & {
|
|
526
|
+
ref?: Ref<Nullable<AMap.EllipseEditor>>;
|
|
527
|
+
};
|
|
528
|
+
declare const EllipseEditor: FC<EllipseEditorProps>;
|
|
529
|
+
type MouseToolEvents = MapEventProps<AMap.MouseToolEventType, AMap.MouseTool>;
|
|
530
|
+
interface MouserToolExtraInitOptions {
|
|
531
|
+
/**
|
|
532
|
+
* 地图对象
|
|
533
|
+
*/
|
|
534
|
+
map?: AMap.Map;
|
|
535
|
+
/**
|
|
536
|
+
* 是否在卸载时清除绘制的图形
|
|
537
|
+
*/
|
|
538
|
+
clearOnClose?: boolean;
|
|
539
|
+
}
|
|
540
|
+
type MouseToolInitOptions = AMap.MouseToolOptions & MouserToolExtraInitOptions;
|
|
541
|
+
type MouseToolProps = MouseToolInitOptions & MouseToolEvents & {
|
|
542
|
+
ref?: Ref<Nullable<AMap.MouseTool>>;
|
|
543
|
+
};
|
|
544
|
+
declare const MouseTool: FC<MouseToolProps>;
|
|
545
|
+
type PolygonEditorEvents = MapEventProps<AMap.PolygonEditorEventType, AMap.PolygonEditor>;
|
|
546
|
+
interface PolygonEditorExtraInitOptions {
|
|
547
|
+
/**
|
|
548
|
+
* 地图对象
|
|
549
|
+
*/
|
|
550
|
+
map?: AMap.Map;
|
|
551
|
+
/**
|
|
552
|
+
* 要编辑的多边形对象
|
|
553
|
+
*/
|
|
554
|
+
target?: Target<Nullable<AMap.Polygon>>;
|
|
555
|
+
}
|
|
556
|
+
type PolygonEditorInitOptions = AMap.PolygonEditorOptions & PolygonEditorExtraInitOptions;
|
|
557
|
+
type PolygonEditorProps = PolygonEditorInitOptions & PolygonEditorEvents & {
|
|
558
|
+
ref?: Ref<Nullable<AMap.PolygonEditor>>;
|
|
559
|
+
};
|
|
560
|
+
declare const PolygonEditor: FC<PolygonEditorProps>;
|
|
561
|
+
type PolylineEditorEvents = MapEventProps<AMap.PolylineEditorEventType, AMap.PolylineEditor>;
|
|
562
|
+
interface PolylineEditorExtraInitOptions {
|
|
563
|
+
/**
|
|
564
|
+
* 地图对象
|
|
565
|
+
*/
|
|
566
|
+
map?: AMap.Map;
|
|
567
|
+
/**
|
|
568
|
+
* 要编辑的折线对象
|
|
569
|
+
*/
|
|
570
|
+
target?: Target<Nullable<AMap.Polyline>>;
|
|
571
|
+
}
|
|
572
|
+
type PolylineEditorInitOptions = AMap.PolylineEditorOptions & PolylineEditorExtraInitOptions;
|
|
573
|
+
type PolylineEditorProps = PolylineEditorInitOptions & PolylineEditorEvents & {
|
|
574
|
+
ref?: Ref<Nullable<AMap.PolylineEditor>>;
|
|
575
|
+
};
|
|
576
|
+
declare const PolylineEditor: FC<PolylineEditorProps>;
|
|
577
|
+
type RangingToolEvents = MapEventProps<AMap.RangingToolEventType, AMap.RangingTool>;
|
|
578
|
+
interface RangingToolExtraInitOptions {
|
|
579
|
+
/**
|
|
580
|
+
* 地图对象
|
|
581
|
+
*/
|
|
582
|
+
map?: AMap.Map;
|
|
583
|
+
}
|
|
584
|
+
type RangingToolInitOptions = AMap.RangingToolOptions & RangingToolExtraInitOptions;
|
|
585
|
+
type RangingToolProps = RangingToolInitOptions & RangingToolEvents & {
|
|
586
|
+
ref?: Ref<Nullable<AMap.RangingTool>>;
|
|
587
|
+
};
|
|
588
|
+
declare const RangingTool: FC<RangingToolProps>;
|
|
589
|
+
type RectangleEditorEvents = MapEventProps<AMap.RectangleEditorEventType, AMap.RectangleEditor>;
|
|
590
|
+
interface RectangleEditorExtraInitOptions {
|
|
591
|
+
/**
|
|
592
|
+
* 地图对象
|
|
593
|
+
*/
|
|
594
|
+
map?: AMap.Map;
|
|
595
|
+
/**
|
|
596
|
+
* 要编辑的矩形对象
|
|
597
|
+
*/
|
|
598
|
+
target?: Target<Nullable<AMap.Rectangle>>;
|
|
599
|
+
}
|
|
600
|
+
type RectangleEditorInitOptions = AMap.RectangleEditorOptions & RectangleEditorExtraInitOptions;
|
|
601
|
+
type RectangleEditorProps = RectangleEditorInitOptions & RectangleEditorEvents & {
|
|
602
|
+
ref?: Ref<Nullable<AMap.RectangleEditor>>;
|
|
603
|
+
};
|
|
604
|
+
declare const RectangleEditor: FC<RectangleEditorProps>;
|
|
605
|
+
export declare function splitProps<T extends object, K1 extends keyof T>(props: T, ...keys: [K1[]]): [Pick<T, K1>, Omit<T, K1>];
|
|
606
|
+
export declare function splitProps<T extends object, K1 extends keyof T, K2 extends keyof T>(props: T, ...keys: [K1[], K2[]]): [Pick<T, K1>, Pick<T, K2>, Omit<T, K1 | K2>];
|
|
607
|
+
export declare function splitProps<T extends object, K1 extends keyof T, K2 extends keyof T, K3 extends keyof T>(props: T, ...keys: [K1[], K2[], K3[]]): [Pick<T, K1>, Pick<T, K2>, Pick<T, K3>, Omit<T, K1 | K2 | K3>];
|
|
608
|
+
export declare function splitProps<T extends object, K1 extends keyof T, K2 extends keyof T, K3 extends keyof T, K4 extends keyof T>(props: T, ...keys: [K1[], K2[], K3[], K4[]]): [Pick<T, K1>, Pick<T, K2>, Pick<T, K3>, Pick<T, K4>, Omit<T, K1 | K2 | K3 | K4>];
|
|
609
|
+
export declare function splitProps<T extends object, K1 extends keyof T, K2 extends keyof T, K3 extends keyof T, K4 extends keyof T, K5 extends keyof T>(props: T, ...keys: [K1[], K2[], K3[], K4[], K5[]]): [Pick<T, K1>, Pick<T, K2>, Pick<T, K3>, Pick<T, K4>, Pick<T, K5>, Omit<T, K1 | K2 | K3 | K4 | K5>];
|
|
610
|
+
export { type APILoaderOptions, type APILoaderProps, BezierCurve, BezierCurveEditor, type BezierCurveEditorProps, type BezierCurveProps, Buildings as BuildingLayer, Buildings, type BuildingsProps, CanvasLayer, type CanvasLayerProps, Circle, CircleEditor, type CircleEditorProps, CircleMarker, type CircleMarkerProps, type CircleProps, ContextMenu, type ContextMenuProps, ControlBar, type ControlBarProps, Country, type CountryProps, CustomLayer, type CustomLayerProps, DistrictLayer, type DistrictLayerProps, ElasticMarker, type ElasticMarkerProps, Ellipse, EllipseEditor, type EllipseEditorProps, type EllipseProps, Flexible, type FlexibleProps, GLCustomLayer, type GLCustomLayerProps, Geolocation, type GeolocationProps, HawkEye, type HawkEyeProps, HeatMap, type HeatMapProps, ImageLayer, type ImageLayerProps, IndexCluster, type IndexClusterProps, IndoorMap, type IndoorMapProps, InfoWindow, type InfoWindowProps, LabelMarker, type LabelMarkerProps, LabelsLayer, type LabelsLayerProps, LayerGroup, type LayerGroupProps, LoadStatus, Map, type MapContainer, type MapEvents, type MapProps, type MapSetOptions, MapType, type MapTypeProps, Mapbox, type MapboxProps, MapboxVectorTileLayer, type MapboxVectorTileLayerProps, Mark, type MarkProps, Marker, MarkerCluster, type MarkerClusterProps, type MarkerProps, MassMarks, type MassMarksProps, MouseTool, type MouseToolProps, OverlayGroup, type OverlayGroupProps, Polygon, PolygonEditor, type PolygonEditorProps, type PolygonProps, Polyline, PolylineEditor, type PolylineEditorProps, type PolylineProps, Province, type ProvinceProps, RangingTool, type RangingToolProps, Rectangle, RectangleEditor, type RectangleEditorProps, type RectangleProps, RoadNet, type RoadNetProps, Satellite, type SatelliteProps, Scale, type ScaleProps, Text, type TextProps, TileLayer, type TileLayerProps, ToolBar, type ToolBarProps, Traffic, type TrafficProps, VectorLayer, type VectorLayerProps, Wms as WMS, type WMSProps, Wmts as WMTS, type WMTSProps, World, type WorldProps, useAPILoader, useLazyInit };
|