@cn-map/gaode-vue 0.0.0-stage → 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 -0
- package/README.md +293 -2
- package/dist/context-BEyZOuBr.js +88 -0
- package/dist/index.d.ts +1931 -0
- package/dist/index.js +4717 -0
- package/dist/loca.d.ts +541 -0
- package/dist/loca.js +1288 -0
- package/package.json +84 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1931 @@
|
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter, ShallowReactive, ShallowRef, VNode } from "vue";
|
|
2
|
+
import { APIStatus, APIType, LoadStatus, LoaderOptions } from "@cn-map/gaode-jsapi-loader";
|
|
3
|
+
import { Nullable } from "@cn-map/gaode-shared/types";
|
|
4
|
+
interface APILoaderOptions extends Omit<LoaderOptions, 'key'> {
|
|
5
|
+
/**
|
|
6
|
+
* key 密钥 您需先[申请密钥(ak)](https://lbs.amap.com/dev/key/app)
|
|
7
|
+
* - [开发文档说明地址](https://lbs.amap.com/api/javascript-api/guide/abc/prepare)
|
|
8
|
+
*
|
|
9
|
+
* 1. 首先,[注册开发者账号](https://lbs.amap.com/dev/id/newuser),成为高德开放平台开发者
|
|
10
|
+
* 2. 登陆之后,在进入「应用管理」 页面「创建新应用」
|
|
11
|
+
* 3. 为应用[添加 Key](https://lbs.amap.com/dev/key/app),「服务平台」一项请选择「 Web 端 ( JSAPI ) 」
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
interface APILoaderProps extends APILoaderOptions {
|
|
17
|
+
/**
|
|
18
|
+
* 组件卸载时是否重置全局 JSAPI 状态
|
|
19
|
+
*
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
resetOnUnmounted?: boolean;
|
|
23
|
+
}
|
|
24
|
+
type __VLS_Slots$3 = {
|
|
25
|
+
default: (props: {
|
|
26
|
+
status: Record<APIType, APIStatus>;
|
|
27
|
+
error: Nullable<Error | Event>;
|
|
28
|
+
}) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_base$3: import("vue").DefineComponent<APILoaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<APILoaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export$56: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
32
|
+
declare const _default: typeof __VLS_export$56;
|
|
33
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* 获取当前API加载状态
|
|
40
|
+
* @param {APIType} type - 获取的API类型
|
|
41
|
+
* @returns {ComputedRef<APIStatus>} - 返回一个计算属性,包含指定类型的加载状态
|
|
42
|
+
*/
|
|
43
|
+
export declare function useAPIStatus(type: APIType): ComputedRef<APIStatus>;
|
|
44
|
+
/**
|
|
45
|
+
* 获取当前API加载状态
|
|
46
|
+
* @returns {ComputedRef<Record<APIType, APIStatus>>} - 返回一个计算属性,包含所有类型的加载状态
|
|
47
|
+
*/
|
|
48
|
+
export declare function useAPIStatus(): ComputedRef<Record<APIType, APIStatus>>;
|
|
49
|
+
/**
|
|
50
|
+
* 加载高德地图依赖的 Hook
|
|
51
|
+
* @param {ShallowReactive<APILoaderOptions>} config - 加载高德地图API的配置项
|
|
52
|
+
* @param {boolean} [resetOnUnmounted=false] - 组件卸载时是否重置全局 JSAPI 状态
|
|
53
|
+
*/
|
|
54
|
+
declare const useAPILoader: (config: ShallowReactive<APILoaderOptions>, resetOnUnmounted?: boolean) => {
|
|
55
|
+
status: import("vue").ComputedRef<Record<import("@cn-map/gaode-jsapi-loader").APIType, import("@cn-map/gaode-jsapi-loader").APIStatus>>;
|
|
56
|
+
error: import("vue").ComputedRef<Nullable<Error | Event>>;
|
|
57
|
+
};
|
|
58
|
+
declare const _default$57: <T = any>(key: string) => ComputedRef<T | undefined>;
|
|
59
|
+
interface ControlExtraInitOptions {
|
|
60
|
+
/**
|
|
61
|
+
* 地图对象
|
|
62
|
+
*/
|
|
63
|
+
map?: AMap.Map;
|
|
64
|
+
}
|
|
65
|
+
type ControlBarProps = ControlExtraInitOptions & AMap.ControlBarOptions;
|
|
66
|
+
interface ControlBarEmits {
|
|
67
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.ControlBar>];
|
|
68
|
+
show: [event: AMap.EventAttrs<'show', AMap.ControlBar>];
|
|
69
|
+
}
|
|
70
|
+
declare const __VLS_export$55: import("vue").DefineComponent<ControlBarProps, {
|
|
71
|
+
instance: import("vue").ShallowRef<AMap.ControlBar, AMap.ControlBar>;
|
|
72
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
|
+
hide: (event: AMap.HideEvent<AMap.ControlBar>) => any;
|
|
74
|
+
show: (event: AMap.ShowEvent<AMap.ControlBar>) => any;
|
|
75
|
+
}, string, import("vue").PublicProps, Readonly<ControlBarProps> & Readonly<{
|
|
76
|
+
onHide?: ((event: AMap.HideEvent<AMap.ControlBar>) => any) | undefined;
|
|
77
|
+
onShow?: ((event: AMap.ShowEvent<AMap.ControlBar>) => any) | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
visible: boolean;
|
|
80
|
+
showControlButton: boolean;
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
|
+
declare const _default$9: typeof __VLS_export$55;
|
|
83
|
+
type GeolocationProps = ControlExtraInitOptions & AMap.GeolocationOptions;
|
|
84
|
+
interface GeolocationEmits {
|
|
85
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.Geolocation>];
|
|
86
|
+
show: [event: AMap.EventAttrs<'show', AMap.Geolocation>];
|
|
87
|
+
complete: [event: AMap.EventAttrs<'complete', AMap.Geolocation>];
|
|
88
|
+
error: [event: AMap.EventAttrs<'error', AMap.Geolocation>];
|
|
89
|
+
}
|
|
90
|
+
declare const __VLS_export$54: import("vue").DefineComponent<GeolocationProps, {
|
|
91
|
+
instance: import("vue").ShallowRef<AMap.Geolocation, AMap.Geolocation>;
|
|
92
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
93
|
+
hide: (event: AMap.HideEvent<AMap.Geolocation>) => any;
|
|
94
|
+
show: (event: AMap.ShowEvent<AMap.Geolocation>) => any;
|
|
95
|
+
complete: (event: AMap.CompleteEvent<AMap.Geolocation>) => any;
|
|
96
|
+
error: (event: AMap.ErrorEvent) => any;
|
|
97
|
+
}, string, import("vue").PublicProps, Readonly<GeolocationProps> & Readonly<{
|
|
98
|
+
onHide?: ((event: AMap.HideEvent<AMap.Geolocation>) => any) | undefined;
|
|
99
|
+
onShow?: ((event: AMap.ShowEvent<AMap.Geolocation>) => any) | undefined;
|
|
100
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.Geolocation>) => any) | undefined;
|
|
101
|
+
onError?: ((event: AMap.ErrorEvent) => any) | undefined;
|
|
102
|
+
}>, {
|
|
103
|
+
visible: boolean;
|
|
104
|
+
GeoLocationFirst: boolean;
|
|
105
|
+
convert: boolean;
|
|
106
|
+
enableHighAccuracy: boolean;
|
|
107
|
+
getCityWhenFail: boolean;
|
|
108
|
+
needAddress: boolean;
|
|
109
|
+
noGeoLocation: boolean;
|
|
110
|
+
noIpLocate: boolean;
|
|
111
|
+
panToLocation: boolean;
|
|
112
|
+
showButton: boolean;
|
|
113
|
+
showCircle: boolean;
|
|
114
|
+
showMarker: boolean;
|
|
115
|
+
useNative: boolean;
|
|
116
|
+
zoomToAccuracy: boolean;
|
|
117
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
118
|
+
declare const _default$18: typeof __VLS_export$54;
|
|
119
|
+
type HawkEyeProps = ControlExtraInitOptions & AMap.HawkEyeOptions;
|
|
120
|
+
interface HawkEyeEmits {
|
|
121
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.HawkEye>];
|
|
122
|
+
show: [event: AMap.EventAttrs<'show', AMap.HawkEye>];
|
|
123
|
+
}
|
|
124
|
+
declare const __VLS_export$53: import("vue").DefineComponent<HawkEyeProps, {
|
|
125
|
+
instance: import("vue").ShallowRef<AMap.HawkEye, AMap.HawkEye>;
|
|
126
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
|
+
hide: (event: AMap.HideEvent<AMap.HawkEye>) => any;
|
|
128
|
+
show: (event: AMap.ShowEvent<AMap.HawkEye>) => any;
|
|
129
|
+
}, string, import("vue").PublicProps, Readonly<HawkEyeProps> & Readonly<{
|
|
130
|
+
onHide?: ((event: AMap.HideEvent<AMap.HawkEye>) => any) | undefined;
|
|
131
|
+
onShow?: ((event: AMap.ShowEvent<AMap.HawkEye>) => any) | undefined;
|
|
132
|
+
}>, {
|
|
133
|
+
visible: boolean;
|
|
134
|
+
showButton: boolean;
|
|
135
|
+
autoMove: boolean;
|
|
136
|
+
showRectangle: boolean;
|
|
137
|
+
opened: boolean;
|
|
138
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
139
|
+
declare const _default$19: typeof __VLS_export$53;
|
|
140
|
+
type MapTypeProps = ControlExtraInitOptions & AMap.MapTypeOptions;
|
|
141
|
+
interface MapTypeEmits {
|
|
142
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.MapType>];
|
|
143
|
+
show: [event: AMap.EventAttrs<'show', AMap.MapType>];
|
|
144
|
+
}
|
|
145
|
+
declare const __VLS_export$52: import("vue").DefineComponent<MapTypeProps, {
|
|
146
|
+
instance: import("vue").ShallowRef<AMap.MapType, AMap.MapType>;
|
|
147
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
148
|
+
hide: (event: AMap.HideEvent<AMap.MapType>) => any;
|
|
149
|
+
show: (event: AMap.ShowEvent<AMap.MapType>) => any;
|
|
150
|
+
}, string, import("vue").PublicProps, Readonly<MapTypeProps> & Readonly<{
|
|
151
|
+
onHide?: ((event: AMap.HideEvent<AMap.MapType>) => any) | undefined;
|
|
152
|
+
onShow?: ((event: AMap.ShowEvent<AMap.MapType>) => any) | undefined;
|
|
153
|
+
}>, {
|
|
154
|
+
visible: boolean;
|
|
155
|
+
showTraffic: boolean;
|
|
156
|
+
showRoad: boolean;
|
|
157
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
158
|
+
declare const _default$29: typeof __VLS_export$52;
|
|
159
|
+
type ScaleProps = ControlExtraInitOptions & AMap.ScaleOptions;
|
|
160
|
+
interface ScaleEmits {
|
|
161
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.Scale>];
|
|
162
|
+
show: [event: AMap.EventAttrs<'show', AMap.Scale>];
|
|
163
|
+
}
|
|
164
|
+
declare const __VLS_export$51: import("vue").DefineComponent<ScaleProps, {
|
|
165
|
+
instance: import("vue").ShallowRef<AMap.Scale, AMap.Scale>;
|
|
166
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
167
|
+
hide: (event: AMap.HideEvent<AMap.Scale>) => any;
|
|
168
|
+
show: (event: AMap.ShowEvent<AMap.Scale>) => any;
|
|
169
|
+
}, string, import("vue").PublicProps, Readonly<ScaleProps> & Readonly<{
|
|
170
|
+
onHide?: ((event: AMap.HideEvent<AMap.Scale>) => any) | undefined;
|
|
171
|
+
onShow?: ((event: AMap.ShowEvent<AMap.Scale>) => any) | undefined;
|
|
172
|
+
}>, {
|
|
173
|
+
visible: boolean;
|
|
174
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
175
|
+
declare const _default$48: typeof __VLS_export$51;
|
|
176
|
+
type ToolBarProps = ControlExtraInitOptions & AMap.ToolBarOptions;
|
|
177
|
+
interface ToolBarEmits {
|
|
178
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.ToolBar>];
|
|
179
|
+
show: [event: AMap.EventAttrs<'show', AMap.ToolBar>];
|
|
180
|
+
}
|
|
181
|
+
declare const __VLS_export$50: import("vue").DefineComponent<ToolBarProps, {
|
|
182
|
+
instance: import("vue").ShallowRef<AMap.ToolBar, AMap.ToolBar>;
|
|
183
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
184
|
+
hide: (event: AMap.HideEvent<AMap.ToolBar>) => any;
|
|
185
|
+
show: (event: AMap.ShowEvent<AMap.ToolBar>) => any;
|
|
186
|
+
}, string, import("vue").PublicProps, Readonly<ToolBarProps> & Readonly<{
|
|
187
|
+
onHide?: ((event: AMap.HideEvent<AMap.ToolBar>) => any) | undefined;
|
|
188
|
+
onShow?: ((event: AMap.ShowEvent<AMap.ToolBar>) => any) | undefined;
|
|
189
|
+
}>, {
|
|
190
|
+
visible: boolean;
|
|
191
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
192
|
+
declare const _default$51: typeof __VLS_export$50;
|
|
193
|
+
interface LayerEmits<T extends AMap.Layer> {
|
|
194
|
+
complete: [event: AMap.EventAttrs<'complete', T>];
|
|
195
|
+
}
|
|
196
|
+
interface BuildingsExtraInitOptions {
|
|
197
|
+
/**
|
|
198
|
+
* 建筑物图层样式
|
|
199
|
+
*/
|
|
200
|
+
style?: AMap.BuildingsStyleOptions;
|
|
201
|
+
}
|
|
202
|
+
type BuildingsProps = BuildingsExtraInitOptions & AMap.BuildingsOptions;
|
|
203
|
+
type BuildingsEmits = LayerEmits<AMap.Buildings>;
|
|
204
|
+
declare const __VLS_export$49: import("vue").DefineComponent<BuildingsProps, {
|
|
205
|
+
instance: import("vue").ShallowRef<AMap.Buildings, AMap.Buildings>;
|
|
206
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
207
|
+
complete: (event: AMap.CompleteEvent<AMap.Buildings>) => any;
|
|
208
|
+
}, string, import("vue").PublicProps, Readonly<BuildingsProps> & Readonly<{
|
|
209
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.Buildings>) => any) | undefined;
|
|
210
|
+
}>, {
|
|
211
|
+
visible: boolean;
|
|
212
|
+
ce: boolean;
|
|
213
|
+
depthTest: boolean;
|
|
214
|
+
rejectMapMask: boolean;
|
|
215
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
216
|
+
declare const _default$3: typeof __VLS_export$49;
|
|
217
|
+
type CanvasLayerProps = AMap.CanvasLayerOptions;
|
|
218
|
+
type CanvasLayerEmits = LayerEmits<AMap.CanvasLayer>;
|
|
219
|
+
declare const __VLS_export$48: import("vue").DefineComponent<AMap.CanvasLayerOptions, {
|
|
220
|
+
instance: import("vue").ShallowRef<AMap.CanvasLayer, AMap.CanvasLayer>;
|
|
221
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
222
|
+
complete: (event: AMap.CompleteEvent<AMap.CanvasLayer>) => any;
|
|
223
|
+
}, string, import("vue").PublicProps, Readonly<AMap.CanvasLayerOptions> & Readonly<{
|
|
224
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.CanvasLayer>) => any) | undefined;
|
|
225
|
+
}>, {
|
|
226
|
+
visible: boolean;
|
|
227
|
+
ce: boolean;
|
|
228
|
+
depthTest: boolean;
|
|
229
|
+
rejectMapMask: boolean;
|
|
230
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
231
|
+
declare const _default$4: typeof __VLS_export$48;
|
|
232
|
+
interface CustomLayerExtraInitOptions {
|
|
233
|
+
/**
|
|
234
|
+
* 画布元素/矢量图形元素
|
|
235
|
+
*/
|
|
236
|
+
element: HTMLCanvasElement | SVGSVGElement;
|
|
237
|
+
}
|
|
238
|
+
type CustomLayerProps = CustomLayerExtraInitOptions & AMap.CustomLayerOptions;
|
|
239
|
+
type CustomLayerEmits = LayerEmits<AMap.CustomLayer>;
|
|
240
|
+
declare const __VLS_export$47: import("vue").DefineComponent<CustomLayerProps, {
|
|
241
|
+
instance: import("vue").ShallowRef<AMap.CustomLayer, AMap.CustomLayer>;
|
|
242
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
243
|
+
complete: (event: AMap.CompleteEvent<AMap.CustomLayer>) => any;
|
|
244
|
+
}, string, import("vue").PublicProps, Readonly<CustomLayerProps> & Readonly<{
|
|
245
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.CustomLayer>) => any) | undefined;
|
|
246
|
+
}>, {
|
|
247
|
+
visible: boolean;
|
|
248
|
+
ce: boolean;
|
|
249
|
+
depthTest: boolean;
|
|
250
|
+
rejectMapMask: boolean;
|
|
251
|
+
alwaysRender: boolean;
|
|
252
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
253
|
+
declare const _default$11: typeof __VLS_export$47;
|
|
254
|
+
interface CountryProps extends AMap.DistrictLayerOptions {
|
|
255
|
+
/**
|
|
256
|
+
* @default 1
|
|
257
|
+
*/
|
|
258
|
+
depth?: number;
|
|
259
|
+
/**
|
|
260
|
+
* @default "CHN"
|
|
261
|
+
*/
|
|
262
|
+
SOC?: string;
|
|
263
|
+
/**
|
|
264
|
+
* @default 82
|
|
265
|
+
*/
|
|
266
|
+
zIndex?: number;
|
|
267
|
+
}
|
|
268
|
+
type CountryEmits = LayerEmits<AMap.DistrictLayer.Country>;
|
|
269
|
+
declare const __VLS_export$46: import("vue").DefineComponent<CountryProps, {
|
|
270
|
+
instance: import("vue").ShallowRef<AMap.DistrictLayer.Country, AMap.DistrictLayer.Country>;
|
|
271
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
272
|
+
complete: (event: AMap.CompleteEvent<AMap.DistrictLayer.Country>) => any;
|
|
273
|
+
}, string, import("vue").PublicProps, Readonly<CountryProps> & Readonly<{
|
|
274
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.DistrictLayer.Country>) => any) | undefined;
|
|
275
|
+
}>, {
|
|
276
|
+
visible: boolean;
|
|
277
|
+
ce: boolean;
|
|
278
|
+
depthTest: boolean;
|
|
279
|
+
rejectMapMask: boolean;
|
|
280
|
+
detectRetina: boolean;
|
|
281
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
282
|
+
declare const _default$10: typeof __VLS_export$46;
|
|
283
|
+
type DistrictLayerProps = AMap.DistrictLayerOptions;
|
|
284
|
+
type DistrictLayerEmits = LayerEmits<AMap.DistrictLayer>;
|
|
285
|
+
declare const __VLS_export$45: import("vue").DefineComponent<AMap.DistrictLayerOptions, {
|
|
286
|
+
instance: import("vue").ShallowRef<AMap.DistrictLayer<AMap.DistrictVectorTileSource<AMap.DistrictSelf>, "DistrictLayer", AMap.DistrictLayerOptions>, AMap.DistrictLayer<AMap.DistrictVectorTileSource<AMap.DistrictSelf>, "DistrictLayer", AMap.DistrictLayerOptions>>;
|
|
287
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
288
|
+
complete: (event: AMap.CompleteEvent<AMap.DistrictLayer<AMap.DistrictVectorTileSource<AMap.DistrictSelf>, "DistrictLayer", AMap.DistrictLayerOptions>>) => any;
|
|
289
|
+
}, string, import("vue").PublicProps, Readonly<AMap.DistrictLayerOptions> & Readonly<{
|
|
290
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.DistrictLayer<AMap.DistrictVectorTileSource<AMap.DistrictSelf>, "DistrictLayer", AMap.DistrictLayerOptions>>) => any) | undefined;
|
|
291
|
+
}>, {
|
|
292
|
+
visible: boolean;
|
|
293
|
+
ce: boolean;
|
|
294
|
+
depthTest: boolean;
|
|
295
|
+
rejectMapMask: boolean;
|
|
296
|
+
detectRetina: boolean;
|
|
297
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
298
|
+
declare const _default$12: typeof __VLS_export$45;
|
|
299
|
+
interface ProvinceProps extends AMap.DistrictLayerOptions {
|
|
300
|
+
/**
|
|
301
|
+
* @default 1
|
|
302
|
+
*/
|
|
303
|
+
depth?: number;
|
|
304
|
+
/**
|
|
305
|
+
* @default "CHN5"
|
|
306
|
+
*/
|
|
307
|
+
SOC?: string;
|
|
308
|
+
/**
|
|
309
|
+
* @default 83
|
|
310
|
+
*/
|
|
311
|
+
zIndex?: number;
|
|
312
|
+
}
|
|
313
|
+
type ProvinceEmits = LayerEmits<AMap.DistrictLayer.Province>;
|
|
314
|
+
declare const __VLS_export$44: import("vue").DefineComponent<ProvinceProps, {
|
|
315
|
+
instance: import("vue").ShallowRef<AMap.DistrictLayer.Province, AMap.DistrictLayer.Province>;
|
|
316
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
317
|
+
complete: (event: AMap.CompleteEvent<AMap.DistrictLayer.Province>) => any;
|
|
318
|
+
}, string, import("vue").PublicProps, Readonly<ProvinceProps> & Readonly<{
|
|
319
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.DistrictLayer.Province>) => any) | undefined;
|
|
320
|
+
}>, {
|
|
321
|
+
visible: boolean;
|
|
322
|
+
ce: boolean;
|
|
323
|
+
depthTest: boolean;
|
|
324
|
+
rejectMapMask: boolean;
|
|
325
|
+
detectRetina: boolean;
|
|
326
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
327
|
+
declare const _default$42: typeof __VLS_export$44;
|
|
328
|
+
interface WorldProps extends AMap.DistrictLayerOptions {
|
|
329
|
+
/**
|
|
330
|
+
* @default "WLD"
|
|
331
|
+
*/
|
|
332
|
+
SOC?: string;
|
|
333
|
+
/**
|
|
334
|
+
* @default 81
|
|
335
|
+
*/
|
|
336
|
+
zIndex?: number;
|
|
337
|
+
}
|
|
338
|
+
type WorldEmits = LayerEmits<AMap.DistrictLayer.World>;
|
|
339
|
+
declare const __VLS_export$43: import("vue").DefineComponent<WorldProps, {
|
|
340
|
+
instance: import("vue").ShallowRef<AMap.DistrictLayer.World, AMap.DistrictLayer.World>;
|
|
341
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
342
|
+
complete: (event: AMap.CompleteEvent<AMap.DistrictLayer.World>) => any;
|
|
343
|
+
}, string, import("vue").PublicProps, Readonly<WorldProps> & Readonly<{
|
|
344
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.DistrictLayer.World>) => any) | undefined;
|
|
345
|
+
}>, {
|
|
346
|
+
visible: boolean;
|
|
347
|
+
ce: boolean;
|
|
348
|
+
depthTest: boolean;
|
|
349
|
+
rejectMapMask: boolean;
|
|
350
|
+
detectRetina: boolean;
|
|
351
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
352
|
+
declare const _default$56: typeof __VLS_export$43;
|
|
353
|
+
type GLCustomLayerProps = AMap.GLCustomLayerOptions;
|
|
354
|
+
type GLCustomLayerEmits = LayerEmits<AMap.GLCustomLayer>;
|
|
355
|
+
declare const __VLS_template$1: () => {
|
|
356
|
+
__VLS_Slots: {
|
|
357
|
+
default?: (props: {}) => any;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
type __VLS_Slots$2 = ReturnType<typeof __VLS_template$1>['__VLS_Slots'];
|
|
361
|
+
declare const __VLS_base$2: import("vue").DefineComponent<AMap.GLCustomLayerOptions, {
|
|
362
|
+
instance: import("vue").ShallowRef<AMap.GLCustomLayer, AMap.GLCustomLayer>;
|
|
363
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
364
|
+
complete: (event: AMap.CompleteEvent<AMap.GLCustomLayer>) => any;
|
|
365
|
+
}, string, import("vue").PublicProps, Readonly<AMap.GLCustomLayerOptions> & Readonly<{
|
|
366
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.GLCustomLayer>) => any) | undefined;
|
|
367
|
+
}>, {
|
|
368
|
+
visible: boolean;
|
|
369
|
+
ce: boolean;
|
|
370
|
+
depthTest: boolean;
|
|
371
|
+
rejectMapMask: boolean;
|
|
372
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
373
|
+
declare const __VLS_export$42: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
374
|
+
declare const _default$17: typeof __VLS_export$42;
|
|
375
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
376
|
+
new (): {
|
|
377
|
+
$slots: S;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
interface HeatMapExtraInitOptions {
|
|
381
|
+
map?: AMap.Map;
|
|
382
|
+
dataset?: AMap.HeatMapDataSet | AMap.HeatMapDataSetLive;
|
|
383
|
+
}
|
|
384
|
+
type HeatMapProps = HeatMapExtraInitOptions & Omit<AMap.HeatMapOptions, '3d'> & {
|
|
385
|
+
threeD?: AMap.HeatMapOptions['3d'];
|
|
386
|
+
};
|
|
387
|
+
declare const __VLS_export$41: import("vue").DefineComponent<HeatMapProps, {
|
|
388
|
+
instance: import("vue").ShallowRef<AMap.HeatMap, AMap.HeatMap>;
|
|
389
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeatMapProps> & Readonly<{}>, {
|
|
390
|
+
visible: boolean;
|
|
391
|
+
rejectMapMask: boolean;
|
|
392
|
+
renderOnZooming: boolean;
|
|
393
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
394
|
+
declare const _default$20: typeof __VLS_export$41;
|
|
395
|
+
type ImageLayerProps = AMap.ImageLayerOptions;
|
|
396
|
+
type ImageLayerEmits = LayerEmits<AMap.ImageLayer>;
|
|
397
|
+
declare const __VLS_export$40: import("vue").DefineComponent<AMap.ImageLayerOptions, {
|
|
398
|
+
instance: import("vue").ShallowRef<AMap.ImageLayer, AMap.ImageLayer>;
|
|
399
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
400
|
+
complete: (event: AMap.CompleteEvent<AMap.ImageLayer>) => any;
|
|
401
|
+
}, string, import("vue").PublicProps, Readonly<AMap.ImageLayerOptions> & Readonly<{
|
|
402
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.ImageLayer>) => any) | undefined;
|
|
403
|
+
}>, {
|
|
404
|
+
visible: boolean;
|
|
405
|
+
ce: boolean;
|
|
406
|
+
depthTest: boolean;
|
|
407
|
+
rejectMapMask: boolean;
|
|
408
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
409
|
+
declare const _default$21: typeof __VLS_export$40;
|
|
410
|
+
interface IndoorMapExtraInitOptions {
|
|
411
|
+
/**
|
|
412
|
+
* 建筑物 POI ID
|
|
413
|
+
*/
|
|
414
|
+
POIId?: string;
|
|
415
|
+
/**
|
|
416
|
+
* 楼层
|
|
417
|
+
*/
|
|
418
|
+
floor?: number;
|
|
419
|
+
}
|
|
420
|
+
type IndoorMapProps = IndoorMapExtraInitOptions & AMap.IndoorMapOptions;
|
|
421
|
+
type IndoorMapEmits = LayerEmits<AMap.IndoorMap> & {
|
|
422
|
+
click: [event: AMap.EventAttrs<'click', AMap.IndoorMap>];
|
|
423
|
+
};
|
|
424
|
+
declare const __VLS_export$39: import("vue").DefineComponent<IndoorMapProps, {
|
|
425
|
+
instance: import("vue").ShallowRef<AMap.IndoorMap, AMap.IndoorMap>;
|
|
426
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
427
|
+
click: (event: AMap.ClickEvent<AMap.IndoorMap>) => any;
|
|
428
|
+
complete: (event: AMap.CompleteEvent<AMap.IndoorMap>) => any;
|
|
429
|
+
}, string, import("vue").PublicProps, Readonly<IndoorMapProps> & Readonly<{
|
|
430
|
+
onClick?: ((event: AMap.ClickEvent<AMap.IndoorMap>) => any) | undefined;
|
|
431
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.IndoorMap>) => any) | undefined;
|
|
432
|
+
}>, {
|
|
433
|
+
visible: boolean;
|
|
434
|
+
ce: boolean;
|
|
435
|
+
depthTest: boolean;
|
|
436
|
+
rejectMapMask: boolean;
|
|
437
|
+
hideFloorBar: boolean;
|
|
438
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
439
|
+
declare const _default$23: typeof __VLS_export$39;
|
|
440
|
+
/**
|
|
441
|
+
* 获取LabelsLayer实例
|
|
442
|
+
* @returns {ShallowRef<AMap.LabelsLayer>} - LabelsLayer实例ref
|
|
443
|
+
*/
|
|
444
|
+
export declare function useLabelsLayer(): ShallowRef<AMap.LabelsLayer>;
|
|
445
|
+
interface LabelsLayerExtraInitOptions<ExtData = any> {
|
|
446
|
+
/**
|
|
447
|
+
* 标注点集合
|
|
448
|
+
*/
|
|
449
|
+
labelMarkers?: AMap.LabelMarker<ExtData>[];
|
|
450
|
+
}
|
|
451
|
+
type LabelsLayerProps<ExtData = any> = LabelsLayerExtraInitOptions<ExtData> & AMap.LabelsLayerOptions;
|
|
452
|
+
type LabelsLayerEmits<ExtData = any> = LayerEmits<AMap.LabelsLayer<ExtData>>;
|
|
453
|
+
declare const __VLS_export$38: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$14<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
454
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$14<LabelsLayerProps<ExtData> & {
|
|
455
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.LabelsLayer<ExtData>>) => any) | undefined;
|
|
456
|
+
}> & (typeof globalThis extends {
|
|
457
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
458
|
+
} ? P : {});
|
|
459
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
460
|
+
instance: import("vue").ShallowRef<AMap.LabelsLayer<any>, AMap.LabelsLayer<any>>;
|
|
461
|
+
}>) => void;
|
|
462
|
+
attrs: any;
|
|
463
|
+
slots: {
|
|
464
|
+
default?: (props: {}) => any;
|
|
465
|
+
};
|
|
466
|
+
emit: (evt: "complete", event: AMap.CompleteEvent<AMap.LabelsLayer<ExtData>>) => void;
|
|
467
|
+
}>) => import("vue").VNode & {
|
|
468
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
469
|
+
};
|
|
470
|
+
declare const _default$26: typeof __VLS_export$38;
|
|
471
|
+
type __VLS_PrettifyLocal$14<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
472
|
+
interface LayerGroupProps {
|
|
473
|
+
map?: AMap.Map;
|
|
474
|
+
visible?: boolean;
|
|
475
|
+
layers?: AMap.LayerGroupLayer[];
|
|
476
|
+
}
|
|
477
|
+
interface LayerGroupEmits {
|
|
478
|
+
complete: [event: AMap.EventAttrs<'complete', AMap.LayerGroupLayer>];
|
|
479
|
+
}
|
|
480
|
+
declare const __VLS_export$37: import("vue").DefineComponent<LayerGroupProps, {
|
|
481
|
+
instance: import("vue").ShallowRef<AMap.LayerGroup, AMap.LayerGroup>;
|
|
482
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
483
|
+
complete: (event: AMap.CompleteEvent<AMap.LayerGroupLayer>) => any;
|
|
484
|
+
}, string, import("vue").PublicProps, Readonly<LayerGroupProps> & Readonly<{
|
|
485
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.LayerGroupLayer>) => any) | undefined;
|
|
486
|
+
}>, {
|
|
487
|
+
layers: AMap.LayerGroupLayer[];
|
|
488
|
+
visible: boolean;
|
|
489
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
490
|
+
declare const _default$27: typeof __VLS_export$37;
|
|
491
|
+
type MapboxProps = AMap.MapboxOptions;
|
|
492
|
+
type MapboxEmits = LayerEmits<AMap.Mapbox>;
|
|
493
|
+
declare const __VLS_export$36: import("vue").DefineComponent<AMap.MapboxOptions, {
|
|
494
|
+
instance: import("vue").ShallowRef<AMap.Mapbox, AMap.Mapbox>;
|
|
495
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
496
|
+
complete: (event: AMap.CompleteEvent<AMap.Mapbox>) => any;
|
|
497
|
+
}, string, import("vue").PublicProps, Readonly<AMap.MapboxOptions> & Readonly<{
|
|
498
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.Mapbox>) => any) | undefined;
|
|
499
|
+
}>, {
|
|
500
|
+
visible: boolean;
|
|
501
|
+
ce: boolean;
|
|
502
|
+
depthTest: boolean;
|
|
503
|
+
rejectMapMask: boolean;
|
|
504
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
505
|
+
declare const _default$30: typeof __VLS_export$36;
|
|
506
|
+
type MapboxVectorTileLayerProps = AMap.MapboxVectorTileLayerOptions;
|
|
507
|
+
type MapboxVectorTileLayerEmits = LayerEmits<AMap.MapboxVectorTileLayer>;
|
|
508
|
+
declare const __VLS_export$35: import("vue").DefineComponent<AMap.MapboxVectorTileLayerOptions, {
|
|
509
|
+
instance: import("vue").ShallowRef<AMap.MapboxVectorTileLayer, AMap.MapboxVectorTileLayer>;
|
|
510
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
511
|
+
complete: (event: AMap.CompleteEvent<AMap.MapboxVectorTileLayer>) => any;
|
|
512
|
+
}, string, import("vue").PublicProps, Readonly<AMap.MapboxVectorTileLayerOptions> & Readonly<{
|
|
513
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.MapboxVectorTileLayer>) => any) | undefined;
|
|
514
|
+
}>, {
|
|
515
|
+
visible: boolean;
|
|
516
|
+
ce: boolean;
|
|
517
|
+
depthTest: boolean;
|
|
518
|
+
rejectMapMask: boolean;
|
|
519
|
+
detectRetina: boolean;
|
|
520
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
521
|
+
declare const _default$31: typeof __VLS_export$35;
|
|
522
|
+
interface FlexibleProps extends AMap.TileLayerOptions {
|
|
523
|
+
/**
|
|
524
|
+
* 由开发者实现,由API自动调用,xyz分别为切片横向纵向编号和层级,切片大小 256。
|
|
525
|
+
* 假设每次创建的贴片为A(支持img或者canvas),当创建或者获取成功时请回调success(A),不需要显示或者失败时请回调fail()
|
|
526
|
+
*/
|
|
527
|
+
createTile?: AMap.TileLayer.FlexibleCreateTile;
|
|
528
|
+
}
|
|
529
|
+
type FlexibleEmits = LayerEmits<AMap.TileLayer.Flexible>;
|
|
530
|
+
declare const __VLS_export$34: import("vue").DefineComponent<FlexibleProps, {
|
|
531
|
+
instance: import("vue").ShallowRef<AMap.TileLayer.Flexible, AMap.TileLayer.Flexible>;
|
|
532
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
533
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer.Flexible>) => any;
|
|
534
|
+
}, string, import("vue").PublicProps, Readonly<FlexibleProps> & Readonly<{
|
|
535
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer.Flexible>) => any) | undefined;
|
|
536
|
+
}>, {
|
|
537
|
+
visible: boolean;
|
|
538
|
+
ce: boolean;
|
|
539
|
+
depthTest: boolean;
|
|
540
|
+
rejectMapMask: boolean;
|
|
541
|
+
detectRetina: boolean;
|
|
542
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
543
|
+
declare const _default$16: typeof __VLS_export$34;
|
|
544
|
+
interface MarkProps extends AMap.TileLayerOptions {
|
|
545
|
+
/**
|
|
546
|
+
* @default 1
|
|
547
|
+
*/
|
|
548
|
+
opacity?: number;
|
|
549
|
+
/**
|
|
550
|
+
* @default true
|
|
551
|
+
*/
|
|
552
|
+
visible?: boolean;
|
|
553
|
+
/**
|
|
554
|
+
* @default 999999
|
|
555
|
+
*/
|
|
556
|
+
zIndex?: number;
|
|
557
|
+
/**
|
|
558
|
+
* @default [2, 30]
|
|
559
|
+
*/
|
|
560
|
+
zooms?: AMap.Tuple2;
|
|
561
|
+
}
|
|
562
|
+
type MarkEmits = LayerEmits<AMap.TileLayer.Mark>;
|
|
563
|
+
declare const __VLS_export$33: import("vue").DefineComponent<MarkProps, {
|
|
564
|
+
instance: import("vue").ShallowRef<AMap.TileLayer.Mark, AMap.TileLayer.Mark>;
|
|
565
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
566
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer.Mark>) => any;
|
|
567
|
+
}, string, import("vue").PublicProps, Readonly<MarkProps> & Readonly<{
|
|
568
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer.Mark>) => any) | undefined;
|
|
569
|
+
}>, {
|
|
570
|
+
visible: boolean;
|
|
571
|
+
ce: boolean;
|
|
572
|
+
depthTest: boolean;
|
|
573
|
+
rejectMapMask: boolean;
|
|
574
|
+
detectRetina: boolean;
|
|
575
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
576
|
+
declare const _default$32: typeof __VLS_export$33;
|
|
577
|
+
type RoadNetProps = AMap.TileLayerOptions;
|
|
578
|
+
type RoadNetEmits = LayerEmits<AMap.TileLayer.RoadNet>;
|
|
579
|
+
declare const __VLS_export$32: import("vue").DefineComponent<AMap.TileLayerOptions, {
|
|
580
|
+
instance: import("vue").ShallowRef<AMap.TileLayer.RoadNet, AMap.TileLayer.RoadNet>;
|
|
581
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
582
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer.RoadNet>) => any;
|
|
583
|
+
}, string, import("vue").PublicProps, Readonly<AMap.TileLayerOptions> & Readonly<{
|
|
584
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer.RoadNet>) => any) | undefined;
|
|
585
|
+
}>, {
|
|
586
|
+
visible: boolean;
|
|
587
|
+
ce: boolean;
|
|
588
|
+
depthTest: boolean;
|
|
589
|
+
rejectMapMask: boolean;
|
|
590
|
+
detectRetina: boolean;
|
|
591
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
592
|
+
declare const _default$46: typeof __VLS_export$32;
|
|
593
|
+
type SatelliteProps = AMap.LayerOptions;
|
|
594
|
+
type SatelliteEmits = LayerEmits<AMap.TileLayer.Satellite>;
|
|
595
|
+
declare const __VLS_export$31: import("vue").DefineComponent<AMap.LayerOptions, {
|
|
596
|
+
instance: import("vue").ShallowRef<AMap.TileLayer.Satellite, AMap.TileLayer.Satellite>;
|
|
597
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
598
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer.Satellite>) => any;
|
|
599
|
+
}, string, import("vue").PublicProps, Readonly<AMap.LayerOptions> & Readonly<{
|
|
600
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer.Satellite>) => any) | undefined;
|
|
601
|
+
}>, {
|
|
602
|
+
visible: boolean;
|
|
603
|
+
ce: boolean;
|
|
604
|
+
depthTest: boolean;
|
|
605
|
+
rejectMapMask: boolean;
|
|
606
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
607
|
+
declare const _default$47: typeof __VLS_export$31;
|
|
608
|
+
type TileLayerProps = AMap.TileLayerOptions;
|
|
609
|
+
type TileLayerEmits = LayerEmits<AMap.TileLayer>;
|
|
610
|
+
declare const __VLS_export$30: import("vue").DefineComponent<AMap.TileLayerOptions, {
|
|
611
|
+
instance: import("vue").ShallowRef<AMap.TileLayer<AMap.RasterSource<AMap.TileLayerSelf>, "TileLayer", AMap.TileLayerOptions, AMap.TileLayerConfig>, AMap.TileLayer<AMap.RasterSource<AMap.TileLayerSelf>, "TileLayer", AMap.TileLayerOptions, AMap.TileLayerConfig>>;
|
|
612
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
613
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer<AMap.RasterSource<AMap.TileLayerSelf>, "TileLayer", AMap.TileLayerOptions, AMap.TileLayerConfig>>) => any;
|
|
614
|
+
}, string, import("vue").PublicProps, Readonly<AMap.TileLayerOptions> & Readonly<{
|
|
615
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer<AMap.RasterSource<AMap.TileLayerSelf>, "TileLayer", AMap.TileLayerOptions, AMap.TileLayerConfig>>) => any) | undefined;
|
|
616
|
+
}>, {
|
|
617
|
+
visible: boolean;
|
|
618
|
+
ce: boolean;
|
|
619
|
+
depthTest: boolean;
|
|
620
|
+
rejectMapMask: boolean;
|
|
621
|
+
detectRetina: boolean;
|
|
622
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
623
|
+
declare const _default$50: typeof __VLS_export$30;
|
|
624
|
+
interface TrafficProps extends AMap.LayerOptions {
|
|
625
|
+
/**
|
|
626
|
+
* 是否自动更新数据
|
|
627
|
+
* @default true
|
|
628
|
+
*/
|
|
629
|
+
autoRefresh?: boolean;
|
|
630
|
+
/**
|
|
631
|
+
* 自动更新数据的间隔毫秒数,取值范围:`[30, +∞)`
|
|
632
|
+
* @default 60
|
|
633
|
+
*/
|
|
634
|
+
interval?: number;
|
|
635
|
+
}
|
|
636
|
+
type TrafficEmits = LayerEmits<AMap.TileLayer.Traffic>;
|
|
637
|
+
declare const __VLS_export$29: import("vue").DefineComponent<TrafficProps, {
|
|
638
|
+
instance: import("vue").ShallowRef<AMap.TileLayer.Traffic, AMap.TileLayer.Traffic>;
|
|
639
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
640
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer.Traffic>) => any;
|
|
641
|
+
}, string, import("vue").PublicProps, Readonly<TrafficProps> & Readonly<{
|
|
642
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer.Traffic>) => any) | undefined;
|
|
643
|
+
}>, {
|
|
644
|
+
visible: boolean;
|
|
645
|
+
ce: boolean;
|
|
646
|
+
depthTest: boolean;
|
|
647
|
+
rejectMapMask: boolean;
|
|
648
|
+
autoRefresh: boolean;
|
|
649
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
650
|
+
declare const _default$52: typeof __VLS_export$29;
|
|
651
|
+
interface WMSProps extends AMap.TileLayerOptions {
|
|
652
|
+
/**
|
|
653
|
+
* 地图级别切换时,不同级别的图片是否进行混合
|
|
654
|
+
* - 如图层的图像内容为部分透明请设置为 `false`
|
|
655
|
+
*/
|
|
656
|
+
blend?: boolean;
|
|
657
|
+
/**
|
|
658
|
+
* WMS GetMap 请求参数
|
|
659
|
+
*/
|
|
660
|
+
params?: Omit<AMap.TileLayer.WMSGetMapParams, 'BBOX' | 'CRS' | 'HEIGHT' | 'REQUEST' | 'SERVICE' | 'WIDTH'>;
|
|
661
|
+
/**
|
|
662
|
+
* WMS 服务地址
|
|
663
|
+
*/
|
|
664
|
+
url: string;
|
|
665
|
+
}
|
|
666
|
+
type WMSEmits = LayerEmits<AMap.TileLayer.WMS>;
|
|
667
|
+
declare const __VLS_export$28: import("vue").DefineComponent<WMSProps, {
|
|
668
|
+
instance: import("vue").ShallowRef<AMap.TileLayer.WMS, AMap.TileLayer.WMS>;
|
|
669
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
670
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer.WMS>) => any;
|
|
671
|
+
}, string, import("vue").PublicProps, Readonly<WMSProps> & Readonly<{
|
|
672
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer.WMS>) => any) | undefined;
|
|
673
|
+
}>, {
|
|
674
|
+
visible: boolean;
|
|
675
|
+
blend: boolean;
|
|
676
|
+
ce: boolean;
|
|
677
|
+
depthTest: boolean;
|
|
678
|
+
rejectMapMask: boolean;
|
|
679
|
+
detectRetina: boolean;
|
|
680
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
681
|
+
declare const _default$54: typeof __VLS_export$28;
|
|
682
|
+
interface WMTSProps extends AMap.TileLayerOptions {
|
|
683
|
+
/**
|
|
684
|
+
* 地图级别切换时,不同级别的图片是否进行混合
|
|
685
|
+
* - 如图层的图像内容为部分透明请设置为 `false`
|
|
686
|
+
*/
|
|
687
|
+
blend?: boolean;
|
|
688
|
+
/**
|
|
689
|
+
* WMTS GetTile 请求参数
|
|
690
|
+
*/
|
|
691
|
+
params?: Omit<AMap.TileLayer.WMTSGetTileParams, 'Request' | 'TileCol' | 'TileMatrix' | 'TileRow'>;
|
|
692
|
+
/**
|
|
693
|
+
* WMS 服务地址
|
|
694
|
+
*/
|
|
695
|
+
url: string;
|
|
696
|
+
}
|
|
697
|
+
type WMTSEmits = LayerEmits<AMap.TileLayer.WMTS>;
|
|
698
|
+
declare const __VLS_export$27: import("vue").DefineComponent<WMTSProps, {
|
|
699
|
+
instance: import("vue").ShallowRef<AMap.TileLayer.WMTS, AMap.TileLayer.WMTS>;
|
|
700
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
701
|
+
complete: (event: AMap.CompleteEvent<AMap.TileLayer.WMTS>) => any;
|
|
702
|
+
}, string, import("vue").PublicProps, Readonly<WMTSProps> & Readonly<{
|
|
703
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.TileLayer.WMTS>) => any) | undefined;
|
|
704
|
+
}>, {
|
|
705
|
+
visible: boolean;
|
|
706
|
+
blend: boolean;
|
|
707
|
+
ce: boolean;
|
|
708
|
+
depthTest: boolean;
|
|
709
|
+
rejectMapMask: boolean;
|
|
710
|
+
detectRetina: boolean;
|
|
711
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
712
|
+
declare const _default$55: typeof __VLS_export$27;
|
|
713
|
+
/**
|
|
714
|
+
* 获取VectorLayer实例ref
|
|
715
|
+
* @returns {ShallowRef<AMap.VectorLayer>} - VectorLayer实例ref
|
|
716
|
+
*/
|
|
717
|
+
export declare function useVectorLayer(): ShallowRef<AMap.VectorLayer>;
|
|
718
|
+
type VectorLayerProps = AMap.VectorLayerOptions;
|
|
719
|
+
declare const __VLS_export$26: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$13<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
720
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$13<AMap.VectorLayerOptions> & (typeof globalThis extends {
|
|
721
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
722
|
+
} ? P : {});
|
|
723
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
724
|
+
instance: import("vue").ShallowRef<AMap.VectorLayer<ExtData>, AMap.VectorLayer<ExtData>>;
|
|
725
|
+
}>) => void;
|
|
726
|
+
attrs: any;
|
|
727
|
+
slots: {
|
|
728
|
+
default?: (props: {}) => any;
|
|
729
|
+
};
|
|
730
|
+
emit: {};
|
|
731
|
+
}>) => import("vue").VNode & {
|
|
732
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
733
|
+
};
|
|
734
|
+
declare const _default$53: typeof __VLS_export$26;
|
|
735
|
+
type __VLS_PrettifyLocal$13<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
736
|
+
/**
|
|
737
|
+
* 获取地图实例
|
|
738
|
+
* @returns {ShallowRef<Nullable<AMap.Map>>} - 地图实例ref
|
|
739
|
+
*/
|
|
740
|
+
export declare function useMap(): ShallowRef<Nullable<AMap.Map>>;
|
|
741
|
+
/**
|
|
742
|
+
* 获取地图实例
|
|
743
|
+
* @returns {ComputedRef<Nullable<AMap.Map>>} - 地图实例ref
|
|
744
|
+
*/
|
|
745
|
+
export declare function useMapInstance<T extends {
|
|
746
|
+
map?: AMap.Map | null;
|
|
747
|
+
}>(props: ShallowReactive<Readonly<T>>): ComputedRef<Nullable<AMap.Map>>;
|
|
748
|
+
interface MapInstance {
|
|
749
|
+
instance: Nullable<AMap.Map>;
|
|
750
|
+
}
|
|
751
|
+
interface MapContainer {
|
|
752
|
+
/**
|
|
753
|
+
* 地图容器元素 或 容器 id
|
|
754
|
+
*/
|
|
755
|
+
container?: MaybeRefOrGetter<HTMLDivElement> | string;
|
|
756
|
+
}
|
|
757
|
+
type SetOption = 'center' | 'zoom' | 'rotation' | 'pitch';
|
|
758
|
+
interface MapSetOptions {
|
|
759
|
+
/**
|
|
760
|
+
* 镜头是否立即过渡到目标位置, 支持单独设置
|
|
761
|
+
*/
|
|
762
|
+
immediately?: boolean | Partial<Record<SetOption, boolean>>;
|
|
763
|
+
/**
|
|
764
|
+
* 镜头动画时长,支持单独设置
|
|
765
|
+
*/
|
|
766
|
+
duration?: number | Partial<Record<SetOption, number>>;
|
|
767
|
+
}
|
|
768
|
+
type MapProps = MapSetOptions & MapContainer & AMap.MapOptions;
|
|
769
|
+
declare const __VLS_template: () => {
|
|
770
|
+
__VLS_Slots: {
|
|
771
|
+
default?: (props: {}) => any;
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
type __VLS_Slots$1 = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
775
|
+
declare const __VLS_base$1: import("vue").DefineComponent<MapProps, {
|
|
776
|
+
instance: import("vue").ShallowRef<Nullable<AMap.Map>, Nullable<AMap.Map>>;
|
|
777
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
778
|
+
hotspotClick: (event: AMap.HotspotClickEvent<AMap.Map>) => any;
|
|
779
|
+
hotspotOver: (event: AMap.HotspotOverEvent<AMap.Map>) => any;
|
|
780
|
+
hotspotOut: (event: AMap.HotspotOutEvent<AMap.Map>) => any;
|
|
781
|
+
click: (event: AMap.ClickEvent<AMap.Map>) => any;
|
|
782
|
+
dblClick: (event: AMap.DblClickEvent<AMap.Map>) => any;
|
|
783
|
+
rightClick: (event: AMap.RightClickEvent<AMap.Map>) => any;
|
|
784
|
+
mouseDown: (event: AMap.MouseDownEvent<AMap.Map>) => any;
|
|
785
|
+
mouseUp: (event: AMap.MouseUpEvent<AMap.Map>) => any;
|
|
786
|
+
mouseOver: (event: AMap.MouseOverEvent<AMap.Map>) => any;
|
|
787
|
+
mouseOut: (event: AMap.MouseOutEvent<AMap.Map>) => any;
|
|
788
|
+
mouseMove: (event: AMap.MouseMoveEvent<AMap.Map>) => any;
|
|
789
|
+
mouseWheel: (event: AMap.MouseWheelEvent<AMap.Map>) => any;
|
|
790
|
+
dragStart: (event: AMap.DragStartEvent<AMap.Map>) => any;
|
|
791
|
+
dragging: (event: AMap.DraggingEvent<AMap.Map>) => any;
|
|
792
|
+
dragEnd: (event: AMap.DragEndEvent<AMap.Map>) => any;
|
|
793
|
+
touchStart: (event: AMap.TouchStartEvent<AMap.Map>) => any;
|
|
794
|
+
touchMove: (event: AMap.TouchMoveEvent<AMap.Map>) => any;
|
|
795
|
+
touchEnd: (event: AMap.TouchEndEvent<AMap.Map>) => any;
|
|
796
|
+
zoomStart: (event: AMap.ZoomStartEvent<AMap.Map>) => any;
|
|
797
|
+
zoomEnd: (event: AMap.ZoomEndEvent<AMap.Map>) => any;
|
|
798
|
+
zoomChange: (event: AMap.ZoomChangeEvent<AMap.Map>) => any;
|
|
799
|
+
pitchStart: (event: AMap.PitchStartEvent) => any;
|
|
800
|
+
pitchEnd: (event: AMap.PitchEndEvent) => any;
|
|
801
|
+
pitchChange: (event: AMap.PitchChangeEvent) => any;
|
|
802
|
+
rotateStart: (event: AMap.RotateStartEvent) => any;
|
|
803
|
+
rotateEnd: (event: AMap.RotateEndEvent) => any;
|
|
804
|
+
rotateChange: (event: AMap.RotateChangeEvent) => any;
|
|
805
|
+
mapMove: (event: AMap.MapMoveEvent<AMap.Map>) => any;
|
|
806
|
+
viewChange: (event: AMap.ViewChangeEvent) => any;
|
|
807
|
+
resize: (event: AMap.ResizeEvent) => any;
|
|
808
|
+
complete: (event: AMap.CompleteEvent<AMap.Map>) => any;
|
|
809
|
+
moveStart: (event: AMap.MoveStartEvent<AMap.Map>) => any;
|
|
810
|
+
moveEnd: (event: AMap.MoveEndEvent<AMap.Map>) => any;
|
|
811
|
+
}, string, import("vue").PublicProps, Readonly<MapProps> & Readonly<{
|
|
812
|
+
onHotspotClick?: ((event: AMap.HotspotClickEvent<AMap.Map>) => any) | undefined;
|
|
813
|
+
onHotspotOver?: ((event: AMap.HotspotOverEvent<AMap.Map>) => any) | undefined;
|
|
814
|
+
onHotspotOut?: ((event: AMap.HotspotOutEvent<AMap.Map>) => any) | undefined;
|
|
815
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Map>) => any) | undefined;
|
|
816
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Map>) => any) | undefined;
|
|
817
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Map>) => any) | undefined;
|
|
818
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Map>) => any) | undefined;
|
|
819
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Map>) => any) | undefined;
|
|
820
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Map>) => any) | undefined;
|
|
821
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Map>) => any) | undefined;
|
|
822
|
+
onMouseMove?: ((event: AMap.MouseMoveEvent<AMap.Map>) => any) | undefined;
|
|
823
|
+
onMouseWheel?: ((event: AMap.MouseWheelEvent<AMap.Map>) => any) | undefined;
|
|
824
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Map>) => any) | undefined;
|
|
825
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Map>) => any) | undefined;
|
|
826
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Map>) => any) | undefined;
|
|
827
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Map>) => any) | undefined;
|
|
828
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Map>) => any) | undefined;
|
|
829
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Map>) => any) | undefined;
|
|
830
|
+
onZoomStart?: ((event: AMap.ZoomStartEvent<AMap.Map>) => any) | undefined;
|
|
831
|
+
onZoomEnd?: ((event: AMap.ZoomEndEvent<AMap.Map>) => any) | undefined;
|
|
832
|
+
onZoomChange?: ((event: AMap.ZoomChangeEvent<AMap.Map>) => any) | undefined;
|
|
833
|
+
onPitchStart?: ((event: AMap.PitchStartEvent) => any) | undefined;
|
|
834
|
+
onPitchEnd?: ((event: AMap.PitchEndEvent) => any) | undefined;
|
|
835
|
+
onPitchChange?: ((event: AMap.PitchChangeEvent) => any) | undefined;
|
|
836
|
+
onRotateStart?: ((event: AMap.RotateStartEvent) => any) | undefined;
|
|
837
|
+
onRotateEnd?: ((event: AMap.RotateEndEvent) => any) | undefined;
|
|
838
|
+
onRotateChange?: ((event: AMap.RotateChangeEvent) => any) | undefined;
|
|
839
|
+
onMapMove?: ((event: AMap.MapMoveEvent<AMap.Map>) => any) | undefined;
|
|
840
|
+
onViewChange?: ((event: AMap.ViewChangeEvent) => any) | undefined;
|
|
841
|
+
onResize?: ((event: AMap.ResizeEvent) => any) | undefined;
|
|
842
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.Map>) => any) | undefined;
|
|
843
|
+
onMoveStart?: ((event: AMap.MoveStartEvent<AMap.Map>) => any) | undefined;
|
|
844
|
+
onMoveEnd?: ((event: AMap.MoveEndEvent<AMap.Map>) => any) | undefined;
|
|
845
|
+
}>, {
|
|
846
|
+
immediately: boolean | Partial<Record<SetOption, boolean>>;
|
|
847
|
+
asyncOverlay: boolean;
|
|
848
|
+
labelRejectMask: boolean;
|
|
849
|
+
showLabel: boolean;
|
|
850
|
+
showOversea: boolean;
|
|
851
|
+
showIndoorMap: boolean;
|
|
852
|
+
terrain: boolean;
|
|
853
|
+
vectorMapForeign: string | boolean;
|
|
854
|
+
allBubble: boolean;
|
|
855
|
+
animateEnable: boolean;
|
|
856
|
+
doubleClickZoom: boolean;
|
|
857
|
+
dragEnable: boolean;
|
|
858
|
+
isHotspot: boolean;
|
|
859
|
+
jogEnable: boolean;
|
|
860
|
+
keyboardEnable: boolean;
|
|
861
|
+
pickWhenMoving: boolean;
|
|
862
|
+
pitchEnable: boolean;
|
|
863
|
+
rotateEnable: boolean;
|
|
864
|
+
scrollWheel: boolean;
|
|
865
|
+
showBuildingBlock: boolean;
|
|
866
|
+
touchZoom: boolean;
|
|
867
|
+
zoomEnable: boolean;
|
|
868
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
869
|
+
declare const __VLS_export$25: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
870
|
+
declare const _default$28: typeof __VLS_export$25;
|
|
871
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
872
|
+
new (): {
|
|
873
|
+
$slots: S;
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
interface VectorOverlayExtraInitOptions {
|
|
877
|
+
/**
|
|
878
|
+
* 地图对象
|
|
879
|
+
*/
|
|
880
|
+
map?: AMap.Map;
|
|
881
|
+
/**
|
|
882
|
+
* 是否可见
|
|
883
|
+
*/
|
|
884
|
+
visible?: boolean;
|
|
885
|
+
}
|
|
886
|
+
type BezierCurveProps<ExtData = any> = VectorOverlayExtraInitOptions & AMap.BezierCurveOptions<ExtData>;
|
|
887
|
+
interface BezierCurveEmits<ExtData = any> {
|
|
888
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.BezierCurve<ExtData>>];
|
|
889
|
+
show: [event: AMap.EventAttrs<'show', AMap.BezierCurve<ExtData>>];
|
|
890
|
+
click: [event: AMap.EventAttrs<'click', AMap.BezierCurve<ExtData>>];
|
|
891
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.BezierCurve<ExtData>>];
|
|
892
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.BezierCurve<ExtData>>];
|
|
893
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.BezierCurve<ExtData>>];
|
|
894
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.BezierCurve<ExtData>>];
|
|
895
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.BezierCurve<ExtData>>];
|
|
896
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.BezierCurve<ExtData>>];
|
|
897
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.BezierCurve<ExtData>>];
|
|
898
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.BezierCurve<ExtData>>];
|
|
899
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.BezierCurve<ExtData>>];
|
|
900
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.BezierCurve<ExtData>>];
|
|
901
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.BezierCurve<ExtData>>];
|
|
902
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.BezierCurve<ExtData>>];
|
|
903
|
+
}
|
|
904
|
+
declare const __VLS_export$24: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$12<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
905
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$12<BezierCurveProps<ExtData> & {
|
|
906
|
+
onClick?: ((event: AMap.ClickEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
907
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
908
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
909
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
910
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
911
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
912
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
913
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
914
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
915
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
916
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
917
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
918
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
919
|
+
onHide?: ((event: AMap.HideEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
920
|
+
onShow?: ((event: AMap.ShowEvent<AMap.BezierCurve<ExtData>>) => any) | undefined;
|
|
921
|
+
}> & (typeof globalThis extends {
|
|
922
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
923
|
+
} ? P : {});
|
|
924
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
925
|
+
instance: import("vue").ShallowRef<AMap.BezierCurve<any>, AMap.BezierCurve<any>>;
|
|
926
|
+
}>) => void;
|
|
927
|
+
attrs: any;
|
|
928
|
+
slots: {};
|
|
929
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.BezierCurve<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.BezierCurve<ExtData>>) => void);
|
|
930
|
+
}>) => import("vue").VNode & {
|
|
931
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
932
|
+
};
|
|
933
|
+
declare const _default$1: typeof __VLS_export$24;
|
|
934
|
+
type __VLS_PrettifyLocal$12<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
935
|
+
type CircleProps<ExtData = any> = VectorOverlayExtraInitOptions & AMap.CircleOptions<ExtData>;
|
|
936
|
+
interface CircleEmits<ExtData = any> {
|
|
937
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.Circle<ExtData>>];
|
|
938
|
+
show: [event: AMap.EventAttrs<'show', AMap.Circle<ExtData>>];
|
|
939
|
+
click: [event: AMap.EventAttrs<'click', AMap.Circle<ExtData>>];
|
|
940
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.Circle<ExtData>>];
|
|
941
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.Circle<ExtData>>];
|
|
942
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.Circle<ExtData>>];
|
|
943
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.Circle<ExtData>>];
|
|
944
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.Circle<ExtData>>];
|
|
945
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.Circle<ExtData>>];
|
|
946
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.Circle<ExtData>>];
|
|
947
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.Circle<ExtData>>];
|
|
948
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.Circle<ExtData>>];
|
|
949
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.Circle<ExtData>>];
|
|
950
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.Circle<ExtData>>];
|
|
951
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.Circle<ExtData>>];
|
|
952
|
+
}
|
|
953
|
+
declare const __VLS_export$23: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$11<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
954
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$11<CircleProps<ExtData> & {
|
|
955
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
956
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
957
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
958
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
959
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
960
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
961
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
962
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
963
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
964
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
965
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
966
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
967
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
968
|
+
onHide?: ((event: AMap.HideEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
969
|
+
onShow?: ((event: AMap.ShowEvent<AMap.Circle<ExtData>>) => any) | undefined;
|
|
970
|
+
}> & (typeof globalThis extends {
|
|
971
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
972
|
+
} ? P : {});
|
|
973
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
974
|
+
instance: import("vue").ShallowRef<AMap.Circle<any>, AMap.Circle<any>>;
|
|
975
|
+
}>) => void;
|
|
976
|
+
attrs: any;
|
|
977
|
+
slots: {};
|
|
978
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.Circle<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.Circle<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.Circle<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.Circle<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.Circle<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.Circle<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.Circle<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.Circle<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.Circle<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.Circle<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.Circle<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.Circle<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.Circle<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.Circle<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.Circle<ExtData>>) => void);
|
|
979
|
+
}>) => import("vue").VNode & {
|
|
980
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
981
|
+
};
|
|
982
|
+
declare const _default$5: typeof __VLS_export$23;
|
|
983
|
+
type __VLS_PrettifyLocal$11<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
984
|
+
type CircleMarkerProps<ExtData = any> = VectorOverlayExtraInitOptions & AMap.CircleMarkerOptions<ExtData>;
|
|
985
|
+
interface CircleMarkerEmits<ExtData = any> {
|
|
986
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.CircleMarker<ExtData>>];
|
|
987
|
+
show: [event: AMap.EventAttrs<'show', AMap.CircleMarker<ExtData>>];
|
|
988
|
+
click: [event: AMap.EventAttrs<'click', AMap.CircleMarker<ExtData>>];
|
|
989
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.CircleMarker<ExtData>>];
|
|
990
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.CircleMarker<ExtData>>];
|
|
991
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.CircleMarker<ExtData>>];
|
|
992
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.CircleMarker<ExtData>>];
|
|
993
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.CircleMarker<ExtData>>];
|
|
994
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.CircleMarker<ExtData>>];
|
|
995
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.CircleMarker<ExtData>>];
|
|
996
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.CircleMarker<ExtData>>];
|
|
997
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.CircleMarker<ExtData>>];
|
|
998
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.CircleMarker<ExtData>>];
|
|
999
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.CircleMarker<ExtData>>];
|
|
1000
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.CircleMarker<ExtData>>];
|
|
1001
|
+
}
|
|
1002
|
+
declare const __VLS_export$22: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$10<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1003
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$10<CircleMarkerProps<ExtData> & {
|
|
1004
|
+
onClick?: ((event: AMap.ClickEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1005
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1006
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1007
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1008
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1009
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1010
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1011
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1012
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1013
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1014
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1015
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1016
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1017
|
+
onHide?: ((event: AMap.HideEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1018
|
+
onShow?: ((event: AMap.ShowEvent<AMap.CircleMarker<ExtData>>) => any) | undefined;
|
|
1019
|
+
}> & (typeof globalThis extends {
|
|
1020
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1021
|
+
} ? P : {});
|
|
1022
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1023
|
+
instance: import("vue").ShallowRef<AMap.CircleMarker<any>, AMap.CircleMarker<any>>;
|
|
1024
|
+
}>) => void;
|
|
1025
|
+
attrs: any;
|
|
1026
|
+
slots: {};
|
|
1027
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.CircleMarker<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.CircleMarker<ExtData>>) => void);
|
|
1028
|
+
}>) => import("vue").VNode & {
|
|
1029
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1030
|
+
};
|
|
1031
|
+
declare const _default$7: typeof __VLS_export$22;
|
|
1032
|
+
type __VLS_PrettifyLocal$10<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1033
|
+
type ContextMenuProps = AMap.ContextMenuOptions;
|
|
1034
|
+
interface ContextMenuEmits {
|
|
1035
|
+
close: [event: AMap.EventAttrs<'close', AMap.ContextMenu>];
|
|
1036
|
+
open: [event: AMap.EventAttrs<'open', AMap.ContextMenu>];
|
|
1037
|
+
}
|
|
1038
|
+
type __VLS_Slots = {
|
|
1039
|
+
default?: () => VNode | VNode[];
|
|
1040
|
+
};
|
|
1041
|
+
declare const __VLS_base: import("vue").DefineComponent<AMap.ContextMenuOptions, {
|
|
1042
|
+
instance: import("vue").ShallowRef<AMap.ContextMenu, AMap.ContextMenu>;
|
|
1043
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1044
|
+
open: (event: AMap.OpenEvent) => any;
|
|
1045
|
+
close: (event: AMap.CloseEvent) => any;
|
|
1046
|
+
}, string, import("vue").PublicProps, Readonly<AMap.ContextMenuOptions> & Readonly<{
|
|
1047
|
+
onOpen?: ((event: AMap.OpenEvent) => any) | undefined;
|
|
1048
|
+
onClose?: ((event: AMap.CloseEvent) => any) | undefined;
|
|
1049
|
+
}>, {
|
|
1050
|
+
visible: boolean;
|
|
1051
|
+
innerOverlay: boolean;
|
|
1052
|
+
noSelect: boolean;
|
|
1053
|
+
isCustom: boolean;
|
|
1054
|
+
aliveWhenMapClick: boolean;
|
|
1055
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1056
|
+
declare const __VLS_export$21: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1057
|
+
declare const _default$8: typeof __VLS_export$21;
|
|
1058
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
1059
|
+
new (): {
|
|
1060
|
+
$slots: S;
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
interface MarkerExtraInitOptions {
|
|
1064
|
+
/**
|
|
1065
|
+
* 是否置顶
|
|
1066
|
+
*/
|
|
1067
|
+
isTop?: boolean;
|
|
1068
|
+
}
|
|
1069
|
+
type MarkerProps<ExtData = any> = MarkerExtraInitOptions & AMap.MarkerOptions<ExtData>;
|
|
1070
|
+
interface MarkerEmits<ExtData = any> {
|
|
1071
|
+
click: [event: AMap.EventAttrs<'click', AMap.Marker<ExtData>>];
|
|
1072
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.Marker<ExtData>>];
|
|
1073
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.Marker<ExtData>>];
|
|
1074
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.Marker<ExtData>>];
|
|
1075
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.Marker<ExtData>>];
|
|
1076
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.Marker<ExtData>>];
|
|
1077
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.Marker<ExtData>>];
|
|
1078
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.Marker<ExtData>>];
|
|
1079
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.Marker<ExtData>>];
|
|
1080
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.Marker<ExtData>>];
|
|
1081
|
+
mouseMove: [event: AMap.EventAttrs<'mouseMove', AMap.Marker<ExtData>>];
|
|
1082
|
+
moveStart: [event: AMap.EventAttrs<'moveStart', AMap.Marker<ExtData>>];
|
|
1083
|
+
moveAlong: [event: AMap.EventAttrs<'moveAlong', AMap.Marker<ExtData>>];
|
|
1084
|
+
moveEnd: [event: AMap.EventAttrs<'moveEnd', AMap.Marker<ExtData>>];
|
|
1085
|
+
moving: [event: AMap.EventAttrs<'moving', AMap.Marker<ExtData>>];
|
|
1086
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.Marker<ExtData>>];
|
|
1087
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.Marker<ExtData>>];
|
|
1088
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.Marker<ExtData>>];
|
|
1089
|
+
}
|
|
1090
|
+
declare const __VLS_export$20: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$9<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1091
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$9<MarkerProps<ExtData> & {
|
|
1092
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1093
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1094
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1095
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1096
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1097
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1098
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1099
|
+
onMouseMove?: ((event: AMap.MouseMoveEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1100
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1101
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1102
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1103
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1104
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1105
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1106
|
+
onMoveStart?: ((event: AMap.MoveStartEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1107
|
+
onMoveEnd?: ((event: AMap.MoveEndEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1108
|
+
onMoving?: ((event: AMap.MovingEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1109
|
+
onMoveAlong?: ((event: AMap.MoveAlongEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => any) | undefined;
|
|
1110
|
+
}> & (typeof globalThis extends {
|
|
1111
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1112
|
+
} ? P : {});
|
|
1113
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1114
|
+
instance: import("vue").ShallowRef<AMap.Marker<any, AMap.MarkerOptions<any>, "Marker">, AMap.Marker<any, AMap.MarkerOptions<any>, "Marker">>;
|
|
1115
|
+
}>) => void;
|
|
1116
|
+
attrs: any;
|
|
1117
|
+
slots: {
|
|
1118
|
+
default?: () => VNode | VNode[];
|
|
1119
|
+
};
|
|
1120
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "mouseMove", event: AMap.MouseMoveEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "moveStart", event: AMap.MoveStartEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "moveEnd", event: AMap.MoveEndEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "moving", event: AMap.MovingEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void) & ((evt: "moveAlong", event: AMap.MoveAlongEvent<AMap.Marker<ExtData, AMap.MarkerOptions<ExtData>, "Marker">>) => void);
|
|
1121
|
+
}>) => import("vue").VNode & {
|
|
1122
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1123
|
+
};
|
|
1124
|
+
declare const _default$33: typeof __VLS_export$20;
|
|
1125
|
+
type __VLS_PrettifyLocal$9<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1126
|
+
type ElasticMarkerProps<ExtData = any> = MarkerExtraInitOptions & AMap.ElasticMarkerOptions<ExtData>;
|
|
1127
|
+
interface ElasticMarkerEmits<ExtData = any> {
|
|
1128
|
+
click: [event: AMap.EventAttrs<'click', AMap.ElasticMarker<ExtData>>];
|
|
1129
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.ElasticMarker<ExtData>>];
|
|
1130
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.ElasticMarker<ExtData>>];
|
|
1131
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.ElasticMarker<ExtData>>];
|
|
1132
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.ElasticMarker<ExtData>>];
|
|
1133
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.ElasticMarker<ExtData>>];
|
|
1134
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.ElasticMarker<ExtData>>];
|
|
1135
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.ElasticMarker<ExtData>>];
|
|
1136
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.ElasticMarker<ExtData>>];
|
|
1137
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.ElasticMarker<ExtData>>];
|
|
1138
|
+
mouseMove: [event: AMap.EventAttrs<'mouseMove', AMap.ElasticMarker<ExtData>>];
|
|
1139
|
+
moveStart: [event: AMap.EventAttrs<'moveStart', AMap.ElasticMarker<ExtData>>];
|
|
1140
|
+
moveAlong: [event: AMap.EventAttrs<'moveAlong', AMap.ElasticMarker<ExtData>>];
|
|
1141
|
+
moveEnd: [event: AMap.EventAttrs<'moveEnd', AMap.ElasticMarker<ExtData>>];
|
|
1142
|
+
moving: [event: AMap.EventAttrs<'moving', AMap.ElasticMarker<ExtData>>];
|
|
1143
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.ElasticMarker<ExtData>>];
|
|
1144
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.ElasticMarker<ExtData>>];
|
|
1145
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.ElasticMarker<ExtData>>];
|
|
1146
|
+
}
|
|
1147
|
+
declare const __VLS_export$19: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$8<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1148
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$8<ElasticMarkerProps<ExtData> & {
|
|
1149
|
+
onClick?: ((event: AMap.ClickEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1150
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1151
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1152
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1153
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1154
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1155
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1156
|
+
onMouseMove?: ((event: AMap.MouseMoveEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1157
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1158
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1159
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1160
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1161
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1162
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1163
|
+
onMoveStart?: ((event: AMap.MoveStartEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1164
|
+
onMoveEnd?: ((event: AMap.MoveEndEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1165
|
+
onMoving?: ((event: AMap.MovingEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1166
|
+
onMoveAlong?: ((event: AMap.MoveAlongEvent<AMap.ElasticMarker<ExtData>>) => any) | undefined;
|
|
1167
|
+
}> & (typeof globalThis extends {
|
|
1168
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1169
|
+
} ? P : {});
|
|
1170
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1171
|
+
instance: ShallowRef<AMap.ElasticMarker<any>, AMap.ElasticMarker<any>>;
|
|
1172
|
+
}>) => void;
|
|
1173
|
+
attrs: any;
|
|
1174
|
+
slots: {};
|
|
1175
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "mouseMove", event: AMap.MouseMoveEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "moveStart", event: AMap.MoveStartEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "moveEnd", event: AMap.MoveEndEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "moving", event: AMap.MovingEvent<AMap.ElasticMarker<ExtData>>) => void) & ((evt: "moveAlong", event: AMap.MoveAlongEvent<AMap.ElasticMarker<ExtData>>) => void);
|
|
1176
|
+
}>) => import("vue").VNode & {
|
|
1177
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1178
|
+
};
|
|
1179
|
+
declare const _default$13: typeof __VLS_export$19;
|
|
1180
|
+
type __VLS_PrettifyLocal$8<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1181
|
+
type EllipseProps<ExtData = any> = VectorOverlayExtraInitOptions & AMap.EllipseOptions<ExtData>;
|
|
1182
|
+
interface EllipseEmits<ExtData = any> {
|
|
1183
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.Ellipse<ExtData>>];
|
|
1184
|
+
show: [event: AMap.EventAttrs<'show', AMap.Ellipse<ExtData>>];
|
|
1185
|
+
click: [event: AMap.EventAttrs<'click', AMap.Ellipse<ExtData>>];
|
|
1186
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.Ellipse<ExtData>>];
|
|
1187
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.Ellipse<ExtData>>];
|
|
1188
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.Ellipse<ExtData>>];
|
|
1189
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.Ellipse<ExtData>>];
|
|
1190
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.Ellipse<ExtData>>];
|
|
1191
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.Ellipse<ExtData>>];
|
|
1192
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.Ellipse<ExtData>>];
|
|
1193
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.Ellipse<ExtData>>];
|
|
1194
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.Ellipse<ExtData>>];
|
|
1195
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.Ellipse<ExtData>>];
|
|
1196
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.Ellipse<ExtData>>];
|
|
1197
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.Ellipse<ExtData>>];
|
|
1198
|
+
}
|
|
1199
|
+
declare const __VLS_export$18: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$7<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1200
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$7<EllipseProps<ExtData> & {
|
|
1201
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1202
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1203
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1204
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1205
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1206
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1207
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1208
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1209
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1210
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1211
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1212
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1213
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1214
|
+
onHide?: ((event: AMap.HideEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1215
|
+
onShow?: ((event: AMap.ShowEvent<AMap.Ellipse<ExtData>>) => any) | undefined;
|
|
1216
|
+
}> & (typeof globalThis extends {
|
|
1217
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1218
|
+
} ? P : {});
|
|
1219
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1220
|
+
instance: import("vue").ShallowRef<AMap.Ellipse<any>, AMap.Ellipse<any>>;
|
|
1221
|
+
}>) => void;
|
|
1222
|
+
attrs: any;
|
|
1223
|
+
slots: {};
|
|
1224
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.Ellipse<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.Ellipse<ExtData>>) => void);
|
|
1225
|
+
}>) => import("vue").VNode & {
|
|
1226
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1227
|
+
};
|
|
1228
|
+
declare const _default$14: typeof __VLS_export$18;
|
|
1229
|
+
type __VLS_PrettifyLocal$7<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1230
|
+
interface IndexClusterExtraInitOptions {
|
|
1231
|
+
/**
|
|
1232
|
+
* 点标记聚合数据项
|
|
1233
|
+
*/
|
|
1234
|
+
data: AMap.IndexClusterDataOptions[];
|
|
1235
|
+
/**
|
|
1236
|
+
* 地图对象
|
|
1237
|
+
*/
|
|
1238
|
+
map?: AMap.Map;
|
|
1239
|
+
}
|
|
1240
|
+
type IndexClusterProps = IndexClusterExtraInitOptions & AMap.IndexClusterOptions;
|
|
1241
|
+
interface IndexClusterEmits {
|
|
1242
|
+
click: [event: AMap.EventAttrs<'click', AMap.IndexCluster>];
|
|
1243
|
+
}
|
|
1244
|
+
declare const __VLS_export$17: import("vue").DefineComponent<IndexClusterProps, {
|
|
1245
|
+
instance: import("vue").ShallowRef<AMap.IndexCluster, AMap.IndexCluster>;
|
|
1246
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1247
|
+
click: (event: AMap.ClickEvent<AMap.IndexCluster>) => any;
|
|
1248
|
+
}, string, import("vue").PublicProps, Readonly<IndexClusterProps> & Readonly<{
|
|
1249
|
+
onClick?: ((event: AMap.ClickEvent<AMap.IndexCluster>) => any) | undefined;
|
|
1250
|
+
}>, {
|
|
1251
|
+
averageCenter: boolean;
|
|
1252
|
+
clusterByZoomChange: boolean;
|
|
1253
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1254
|
+
declare const _default$22: typeof __VLS_export$17;
|
|
1255
|
+
type InfoWindowProps<ExtData = any> = AMap.InfoWindowOptions<ExtData>;
|
|
1256
|
+
interface InfoWindowEmits<ExtData = any> {
|
|
1257
|
+
close: [event: AMap.EventAttrs<'close', AMap.InfoWindow<ExtData>>];
|
|
1258
|
+
open: [event: AMap.EventAttrs<'open', AMap.InfoWindow<ExtData>>];
|
|
1259
|
+
}
|
|
1260
|
+
declare const __VLS_export$16: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1261
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$6<InfoWindowProps<ExtData> & {
|
|
1262
|
+
onOpen?: ((event: AMap.OpenEvent) => any) | undefined;
|
|
1263
|
+
onClose?: ((event: AMap.CloseEvent) => any) | undefined;
|
|
1264
|
+
}> & (typeof globalThis extends {
|
|
1265
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1266
|
+
} ? P : {});
|
|
1267
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1268
|
+
instance: import("vue").ShallowRef<AMap.InfoWindow<any>, AMap.InfoWindow<any>>;
|
|
1269
|
+
}>) => void;
|
|
1270
|
+
attrs: any;
|
|
1271
|
+
slots: {
|
|
1272
|
+
default?: () => VNode | VNode[];
|
|
1273
|
+
};
|
|
1274
|
+
emit: ((evt: "open", event: AMap.OpenEvent) => void) & ((evt: "close", event: AMap.CloseEvent) => void);
|
|
1275
|
+
}>) => import("vue").VNode & {
|
|
1276
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1277
|
+
};
|
|
1278
|
+
declare const _default$24: typeof __VLS_export$16;
|
|
1279
|
+
type __VLS_PrettifyLocal$6<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1280
|
+
interface LabelMarkerExtraInitOptions {
|
|
1281
|
+
/**
|
|
1282
|
+
* 是否置顶
|
|
1283
|
+
*/
|
|
1284
|
+
isTop?: boolean;
|
|
1285
|
+
}
|
|
1286
|
+
type LabelMarkerProps<ExtData = any> = LabelMarkerExtraInitOptions & AMap.LabelMarkerOptions<ExtData>;
|
|
1287
|
+
interface LabelMarkerEmits<ExtData = any> {
|
|
1288
|
+
click: [event: AMap.EventAttrs<'click', AMap.LabelMarker<ExtData>>];
|
|
1289
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.LabelMarker<ExtData>>];
|
|
1290
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.LabelMarker<ExtData>>];
|
|
1291
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.LabelMarker<ExtData>>];
|
|
1292
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.LabelMarker<ExtData>>];
|
|
1293
|
+
mouseMove: [event: AMap.EventAttrs<'mouseMove', AMap.LabelMarker<ExtData>>];
|
|
1294
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.LabelMarker<ExtData>>];
|
|
1295
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.LabelMarker<ExtData>>];
|
|
1296
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.LabelMarker<ExtData>>];
|
|
1297
|
+
}
|
|
1298
|
+
declare const __VLS_export$15: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1299
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$5<LabelMarkerProps<ExtData> & {
|
|
1300
|
+
onClick?: ((event: AMap.ClickEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1301
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1302
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1303
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1304
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1305
|
+
onMouseMove?: ((event: AMap.MouseMoveEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1306
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1307
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1308
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.LabelMarker<ExtData>>) => any) | undefined;
|
|
1309
|
+
}> & (typeof globalThis extends {
|
|
1310
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1311
|
+
} ? P : {});
|
|
1312
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1313
|
+
instance: import("vue").ShallowRef<AMap.LabelMarker<any>, AMap.LabelMarker<any>>;
|
|
1314
|
+
}>) => void;
|
|
1315
|
+
attrs: any;
|
|
1316
|
+
slots: {};
|
|
1317
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "mouseMove", event: AMap.MouseMoveEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.LabelMarker<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.LabelMarker<ExtData>>) => void);
|
|
1318
|
+
}>) => import("vue").VNode & {
|
|
1319
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1320
|
+
};
|
|
1321
|
+
declare const _default$25: typeof __VLS_export$15;
|
|
1322
|
+
type __VLS_PrettifyLocal$5<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1323
|
+
interface MarkerClusterExtraInitOptions {
|
|
1324
|
+
/**
|
|
1325
|
+
* 点标记聚合数据项
|
|
1326
|
+
*/
|
|
1327
|
+
data: AMap.MarkerClusterDataOptions[];
|
|
1328
|
+
/**
|
|
1329
|
+
* 地图对象
|
|
1330
|
+
*/
|
|
1331
|
+
map?: AMap.Map;
|
|
1332
|
+
}
|
|
1333
|
+
type MarkerClusterProps = MarkerClusterExtraInitOptions & AMap.MarkerClusterOptions;
|
|
1334
|
+
interface MarkerClusterEmits {
|
|
1335
|
+
click: [event: AMap.EventAttrs<'click', AMap.MarkerCluster>];
|
|
1336
|
+
}
|
|
1337
|
+
declare const __VLS_export$14: import("vue").DefineComponent<MarkerClusterProps, {
|
|
1338
|
+
instance: import("vue").ShallowRef<AMap.MarkerCluster, AMap.MarkerCluster>;
|
|
1339
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1340
|
+
click: (event: AMap.ClickEvent<AMap.MarkerCluster>) => any;
|
|
1341
|
+
}, string, import("vue").PublicProps, Readonly<MarkerClusterProps> & Readonly<{
|
|
1342
|
+
onClick?: ((event: AMap.ClickEvent<AMap.MarkerCluster>) => any) | undefined;
|
|
1343
|
+
}>, {
|
|
1344
|
+
averageCenter: boolean;
|
|
1345
|
+
clusterByZoomChange: boolean;
|
|
1346
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1347
|
+
declare const _default$34: typeof __VLS_export$14;
|
|
1348
|
+
interface MassMarksExtraInitOptions {
|
|
1349
|
+
/**
|
|
1350
|
+
* 海量点数据参数
|
|
1351
|
+
*/
|
|
1352
|
+
data: AMap.MassMarksDataOptions[];
|
|
1353
|
+
/**
|
|
1354
|
+
* 地图对象
|
|
1355
|
+
*/
|
|
1356
|
+
map?: AMap.Map;
|
|
1357
|
+
}
|
|
1358
|
+
type MassMarksProps = MassMarksExtraInitOptions & {
|
|
1359
|
+
/**
|
|
1360
|
+
* 用于设置点的样式
|
|
1361
|
+
*/
|
|
1362
|
+
styles?: AMap.MassMarksOptions['style'];
|
|
1363
|
+
/**
|
|
1364
|
+
* @deprecated use `styles` instead, vue compiler will normalize style array into one object
|
|
1365
|
+
* @see https://github.com/vuejs/core/blob/9d92dbded20037a1142a08d554ea24969c35bb5c/packages/runtime-core/src/vnode.ts#L593-L608
|
|
1366
|
+
*/
|
|
1367
|
+
style?: AMap.MassMarksOptions['style'];
|
|
1368
|
+
} & Omit<AMap.MassMarksOptions, 'style'>;
|
|
1369
|
+
interface MassMarksEmits {
|
|
1370
|
+
click: [event: AMap.EventAttrs<'click', AMap.MassMarks>];
|
|
1371
|
+
complete: [event: AMap.EventAttrs<'complete', AMap.MassMarks>];
|
|
1372
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.MassMarks>];
|
|
1373
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.MassMarks>];
|
|
1374
|
+
mouseMove: [event: AMap.EventAttrs<'mouseMove', AMap.MassMarks>];
|
|
1375
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.MassMarks>];
|
|
1376
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.MassMarks>];
|
|
1377
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.MassMarks>];
|
|
1378
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.MassMarks>];
|
|
1379
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.MassMarks>];
|
|
1380
|
+
}
|
|
1381
|
+
declare const __VLS_export$13: import("vue").DefineComponent<MassMarksProps, {
|
|
1382
|
+
instance: import("vue").ShallowRef<AMap.MassMarks, AMap.MassMarks>;
|
|
1383
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1384
|
+
click: (event: AMap.ClickEvent<AMap.MassMarks>) => any;
|
|
1385
|
+
dblClick: (event: AMap.DblClickEvent<AMap.MassMarks>) => any;
|
|
1386
|
+
mouseDown: (event: AMap.MouseDownEvent<AMap.MassMarks>) => any;
|
|
1387
|
+
mouseUp: (event: AMap.MouseUpEvent<AMap.MassMarks>) => any;
|
|
1388
|
+
mouseOver: (event: AMap.MouseOverEvent<AMap.MassMarks>) => any;
|
|
1389
|
+
mouseOut: (event: AMap.MouseOutEvent<AMap.MassMarks>) => any;
|
|
1390
|
+
mouseMove: (event: AMap.MouseMoveEvent<AMap.MassMarks>) => any;
|
|
1391
|
+
touchStart: (event: AMap.TouchStartEvent<AMap.MassMarks>) => any;
|
|
1392
|
+
touchEnd: (event: AMap.TouchEndEvent<AMap.MassMarks>) => any;
|
|
1393
|
+
complete: (event: AMap.CompleteEvent<AMap.MassMarks>) => any;
|
|
1394
|
+
}, string, import("vue").PublicProps, Readonly<MassMarksProps> & Readonly<{
|
|
1395
|
+
onClick?: ((event: AMap.ClickEvent<AMap.MassMarks>) => any) | undefined;
|
|
1396
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.MassMarks>) => any) | undefined;
|
|
1397
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.MassMarks>) => any) | undefined;
|
|
1398
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.MassMarks>) => any) | undefined;
|
|
1399
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.MassMarks>) => any) | undefined;
|
|
1400
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.MassMarks>) => any) | undefined;
|
|
1401
|
+
onMouseMove?: ((event: AMap.MouseMoveEvent<AMap.MassMarks>) => any) | undefined;
|
|
1402
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.MassMarks>) => any) | undefined;
|
|
1403
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.MassMarks>) => any) | undefined;
|
|
1404
|
+
onComplete?: ((event: AMap.CompleteEvent<AMap.MassMarks>) => any) | undefined;
|
|
1405
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1406
|
+
declare const _default$35: typeof __VLS_export$13;
|
|
1407
|
+
type OverlayGroupProps<ExtData = any> = VectorOverlayExtraInitOptions & {
|
|
1408
|
+
/**
|
|
1409
|
+
* 覆盖物集合
|
|
1410
|
+
*/
|
|
1411
|
+
overlays?: AMap.OverlayGroupOverlay<ExtData>[];
|
|
1412
|
+
};
|
|
1413
|
+
interface OverlayGroupEmits<ExtData = any> {
|
|
1414
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1415
|
+
show: [event: AMap.EventAttrs<'show', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1416
|
+
click: [event: AMap.EventAttrs<'click', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1417
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1418
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1419
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1420
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1421
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1422
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1423
|
+
mouseMove: [event: AMap.EventAttrs<'mouseMove', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1424
|
+
moveStart: [event: AMap.EventAttrs<'moveStart', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1425
|
+
moveAlong: [event: AMap.EventAttrs<'moveAlong', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1426
|
+
moveEnd: [event: AMap.EventAttrs<'moveEnd', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1427
|
+
moving: [event: AMap.EventAttrs<'moving', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1428
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1429
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1430
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1431
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1432
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1433
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.OverlayGroupOverlay<ExtData>>];
|
|
1434
|
+
}
|
|
1435
|
+
declare const __VLS_export$12: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1436
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$4<OverlayGroupProps<ExtData> & {
|
|
1437
|
+
onClick?: ((event: AMap.ClickEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1438
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1439
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1440
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1441
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1442
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1443
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1444
|
+
onMouseMove?: ((event: AMap.MouseMoveEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1445
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1446
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1447
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1448
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1449
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1450
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1451
|
+
onHide?: ((event: AMap.HideEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1452
|
+
onShow?: ((event: AMap.ShowEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1453
|
+
onMoveStart?: ((event: AMap.MoveStartEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1454
|
+
onMoveEnd?: ((event: AMap.MoveEndEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1455
|
+
onMoving?: ((event: AMap.MovingEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1456
|
+
onMoveAlong?: ((event: AMap.MoveAlongEvent<AMap.OverlayGroupOverlay<ExtData>>) => any) | undefined;
|
|
1457
|
+
}> & (typeof globalThis extends {
|
|
1458
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1459
|
+
} ? P : {});
|
|
1460
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1461
|
+
instance: import("vue").ShallowRef<AMap.OverlayGroup<any>, AMap.OverlayGroup<any>>;
|
|
1462
|
+
}>) => void;
|
|
1463
|
+
attrs: any;
|
|
1464
|
+
slots: {};
|
|
1465
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "mouseMove", event: AMap.MouseMoveEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "moveStart", event: AMap.MoveStartEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "moveEnd", event: AMap.MoveEndEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "moving", event: AMap.MovingEvent<AMap.OverlayGroupOverlay<ExtData>>) => void) & ((evt: "moveAlong", event: AMap.MoveAlongEvent<AMap.OverlayGroupOverlay<ExtData>>) => void);
|
|
1466
|
+
}>) => import("vue").VNode & {
|
|
1467
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1468
|
+
};
|
|
1469
|
+
declare const _default$37: typeof __VLS_export$12;
|
|
1470
|
+
type __VLS_PrettifyLocal$4<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1471
|
+
type PolygonProps<ExtData = any> = VectorOverlayExtraInitOptions & AMap.PolygonOptions<ExtData>;
|
|
1472
|
+
interface PolygonEmits<ExtData = any> {
|
|
1473
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.Polygon<ExtData>>];
|
|
1474
|
+
show: [event: AMap.EventAttrs<'show', AMap.Polygon<ExtData>>];
|
|
1475
|
+
click: [event: AMap.EventAttrs<'click', AMap.Polygon<ExtData>>];
|
|
1476
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.Polygon<ExtData>>];
|
|
1477
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.Polygon<ExtData>>];
|
|
1478
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.Polygon<ExtData>>];
|
|
1479
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.Polygon<ExtData>>];
|
|
1480
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.Polygon<ExtData>>];
|
|
1481
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.Polygon<ExtData>>];
|
|
1482
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.Polygon<ExtData>>];
|
|
1483
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.Polygon<ExtData>>];
|
|
1484
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.Polygon<ExtData>>];
|
|
1485
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.Polygon<ExtData>>];
|
|
1486
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.Polygon<ExtData>>];
|
|
1487
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.Polygon<ExtData>>];
|
|
1488
|
+
}
|
|
1489
|
+
declare const __VLS_export$11: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1490
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$3<PolygonProps<ExtData> & {
|
|
1491
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1492
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1493
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1494
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1495
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1496
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1497
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1498
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1499
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1500
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1501
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1502
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1503
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1504
|
+
onHide?: ((event: AMap.HideEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1505
|
+
onShow?: ((event: AMap.ShowEvent<AMap.Polygon<ExtData>>) => any) | undefined;
|
|
1506
|
+
}> & (typeof globalThis extends {
|
|
1507
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1508
|
+
} ? P : {});
|
|
1509
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1510
|
+
instance: import("vue").ShallowRef<AMap.Polygon<any>, AMap.Polygon<any>>;
|
|
1511
|
+
}>) => void;
|
|
1512
|
+
attrs: any;
|
|
1513
|
+
slots: {};
|
|
1514
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.Polygon<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.Polygon<ExtData>>) => void);
|
|
1515
|
+
}>) => import("vue").VNode & {
|
|
1516
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1517
|
+
};
|
|
1518
|
+
declare const _default$38: typeof __VLS_export$11;
|
|
1519
|
+
type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1520
|
+
type PolylineProps<ExtData = any> = VectorOverlayExtraInitOptions & AMap.PolylineOptions<ExtData>;
|
|
1521
|
+
interface PolylineEmits<ExtData = any> {
|
|
1522
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.Polyline<ExtData>>];
|
|
1523
|
+
show: [event: AMap.EventAttrs<'show', AMap.Polyline<ExtData>>];
|
|
1524
|
+
click: [event: AMap.EventAttrs<'click', AMap.Polyline<ExtData>>];
|
|
1525
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.Polyline<ExtData>>];
|
|
1526
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.Polyline<ExtData>>];
|
|
1527
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.Polyline<ExtData>>];
|
|
1528
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.Polyline<ExtData>>];
|
|
1529
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.Polyline<ExtData>>];
|
|
1530
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.Polyline<ExtData>>];
|
|
1531
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.Polyline<ExtData>>];
|
|
1532
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.Polyline<ExtData>>];
|
|
1533
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.Polyline<ExtData>>];
|
|
1534
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.Polyline<ExtData>>];
|
|
1535
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.Polyline<ExtData>>];
|
|
1536
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.Polyline<ExtData>>];
|
|
1537
|
+
}
|
|
1538
|
+
declare const __VLS_export$10: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1539
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$2<PolylineProps<ExtData> & {
|
|
1540
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1541
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1542
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1543
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1544
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1545
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1546
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1547
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1548
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1549
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1550
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1551
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1552
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1553
|
+
onHide?: ((event: AMap.HideEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1554
|
+
onShow?: ((event: AMap.ShowEvent<AMap.Polyline<ExtData>>) => any) | undefined;
|
|
1555
|
+
}> & (typeof globalThis extends {
|
|
1556
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1557
|
+
} ? P : {});
|
|
1558
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1559
|
+
instance: import("vue").ShallowRef<AMap.Polyline<any>, AMap.Polyline<any>>;
|
|
1560
|
+
}>) => void;
|
|
1561
|
+
attrs: any;
|
|
1562
|
+
slots: {};
|
|
1563
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.Polyline<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.Polyline<ExtData>>) => void);
|
|
1564
|
+
}>) => import("vue").VNode & {
|
|
1565
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1566
|
+
};
|
|
1567
|
+
declare const _default$40: typeof __VLS_export$10;
|
|
1568
|
+
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1569
|
+
type RectangleProps<ExtData = any> = VectorOverlayExtraInitOptions & AMap.RectangleOptions<ExtData>;
|
|
1570
|
+
interface RectangleEmits<ExtData = any> {
|
|
1571
|
+
hide: [event: AMap.EventAttrs<'hide', AMap.Rectangle<ExtData>>];
|
|
1572
|
+
show: [event: AMap.EventAttrs<'show', AMap.Rectangle<ExtData>>];
|
|
1573
|
+
click: [event: AMap.EventAttrs<'click', AMap.Rectangle<ExtData>>];
|
|
1574
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.Rectangle<ExtData>>];
|
|
1575
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.Rectangle<ExtData>>];
|
|
1576
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.Rectangle<ExtData>>];
|
|
1577
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.Rectangle<ExtData>>];
|
|
1578
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.Rectangle<ExtData>>];
|
|
1579
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.Rectangle<ExtData>>];
|
|
1580
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.Rectangle<ExtData>>];
|
|
1581
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.Rectangle<ExtData>>];
|
|
1582
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.Rectangle<ExtData>>];
|
|
1583
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.Rectangle<ExtData>>];
|
|
1584
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.Rectangle<ExtData>>];
|
|
1585
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.Rectangle<ExtData>>];
|
|
1586
|
+
}
|
|
1587
|
+
declare const __VLS_export$9: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1588
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<RectangleProps<ExtData> & {
|
|
1589
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1590
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1591
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1592
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1593
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1594
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1595
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1596
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1597
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1598
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1599
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1600
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1601
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1602
|
+
onHide?: ((event: AMap.HideEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1603
|
+
onShow?: ((event: AMap.ShowEvent<AMap.Rectangle<ExtData>>) => any) | undefined;
|
|
1604
|
+
}> & (typeof globalThis extends {
|
|
1605
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1606
|
+
} ? P : {});
|
|
1607
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1608
|
+
instance: import("vue").ShallowRef<AMap.Rectangle<any>, AMap.Rectangle<any>>;
|
|
1609
|
+
}>) => void;
|
|
1610
|
+
attrs: any;
|
|
1611
|
+
slots: {};
|
|
1612
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "hide", event: AMap.HideEvent<AMap.Rectangle<ExtData>>) => void) & ((evt: "show", event: AMap.ShowEvent<AMap.Rectangle<ExtData>>) => void);
|
|
1613
|
+
}>) => import("vue").VNode & {
|
|
1614
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1615
|
+
};
|
|
1616
|
+
declare const _default$44: typeof __VLS_export$9;
|
|
1617
|
+
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1618
|
+
type TextProps<ExtData = any> = MarkerExtraInitOptions & AMap.TextOptions<ExtData>;
|
|
1619
|
+
interface TextEmits<ExtData = any> {
|
|
1620
|
+
click: [event: AMap.EventAttrs<'click', AMap.Text<ExtData>>];
|
|
1621
|
+
dblClick: [event: AMap.EventAttrs<'dblClick', AMap.Text<ExtData>>];
|
|
1622
|
+
rightClick: [event: AMap.EventAttrs<'rightClick', AMap.Text<ExtData>>];
|
|
1623
|
+
dragStart: [event: AMap.EventAttrs<'dragStart', AMap.Text<ExtData>>];
|
|
1624
|
+
dragging: [event: AMap.EventAttrs<'dragging', AMap.Text<ExtData>>];
|
|
1625
|
+
dragEnd: [event: AMap.EventAttrs<'dragEnd', AMap.Text<ExtData>>];
|
|
1626
|
+
mouseDown: [event: AMap.EventAttrs<'mouseDown', AMap.Text<ExtData>>];
|
|
1627
|
+
mouseUp: [event: AMap.EventAttrs<'mouseUp', AMap.Text<ExtData>>];
|
|
1628
|
+
mouseOver: [event: AMap.EventAttrs<'mouseOver', AMap.Text<ExtData>>];
|
|
1629
|
+
mouseOut: [event: AMap.EventAttrs<'mouseOut', AMap.Text<ExtData>>];
|
|
1630
|
+
mouseMove: [event: AMap.EventAttrs<'mouseMove', AMap.Text<ExtData>>];
|
|
1631
|
+
moveStart: [event: AMap.EventAttrs<'moveStart', AMap.Text<ExtData>>];
|
|
1632
|
+
moveAlong: [event: AMap.EventAttrs<'moveAlong', AMap.Text<ExtData>>];
|
|
1633
|
+
moveEnd: [event: AMap.EventAttrs<'moveEnd', AMap.Text<ExtData>>];
|
|
1634
|
+
moving: [event: AMap.EventAttrs<'moving', AMap.Text<ExtData>>];
|
|
1635
|
+
touchStart: [event: AMap.EventAttrs<'touchStart', AMap.Text<ExtData>>];
|
|
1636
|
+
touchMove: [event: AMap.EventAttrs<'touchMove', AMap.Text<ExtData>>];
|
|
1637
|
+
touchEnd: [event: AMap.EventAttrs<'touchEnd', AMap.Text<ExtData>>];
|
|
1638
|
+
}
|
|
1639
|
+
declare const __VLS_export$8: <ExtData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1640
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<TextProps<ExtData> & {
|
|
1641
|
+
onClick?: ((event: AMap.ClickEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1642
|
+
onDblClick?: ((event: AMap.DblClickEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1643
|
+
onRightClick?: ((event: AMap.RightClickEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1644
|
+
onMouseDown?: ((event: AMap.MouseDownEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1645
|
+
onMouseUp?: ((event: AMap.MouseUpEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1646
|
+
onMouseOver?: ((event: AMap.MouseOverEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1647
|
+
onMouseOut?: ((event: AMap.MouseOutEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1648
|
+
onMouseMove?: ((event: AMap.MouseMoveEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1649
|
+
onDragStart?: ((event: AMap.DragStartEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1650
|
+
onDragging?: ((event: AMap.DraggingEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1651
|
+
onDragEnd?: ((event: AMap.DragEndEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1652
|
+
onTouchStart?: ((event: AMap.TouchStartEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1653
|
+
onTouchMove?: ((event: AMap.TouchMoveEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1654
|
+
onTouchEnd?: ((event: AMap.TouchEndEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1655
|
+
onMoveStart?: ((event: AMap.MoveStartEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1656
|
+
onMoveEnd?: ((event: AMap.MoveEndEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1657
|
+
onMoving?: ((event: AMap.MovingEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1658
|
+
onMoveAlong?: ((event: AMap.MoveAlongEvent<AMap.Text<ExtData>>) => any) | undefined;
|
|
1659
|
+
}> & (typeof globalThis extends {
|
|
1660
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1661
|
+
} ? P : {});
|
|
1662
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
1663
|
+
instance: ShallowRef<AMap.Text<any>, AMap.Text<any>>;
|
|
1664
|
+
}>) => void;
|
|
1665
|
+
attrs: any;
|
|
1666
|
+
slots: {
|
|
1667
|
+
default?: () => VNode | VNode[];
|
|
1668
|
+
};
|
|
1669
|
+
emit: ((evt: "click", event: AMap.ClickEvent<AMap.Text<ExtData>>) => void) & ((evt: "dblClick", event: AMap.DblClickEvent<AMap.Text<ExtData>>) => void) & ((evt: "rightClick", event: AMap.RightClickEvent<AMap.Text<ExtData>>) => void) & ((evt: "mouseDown", event: AMap.MouseDownEvent<AMap.Text<ExtData>>) => void) & ((evt: "mouseUp", event: AMap.MouseUpEvent<AMap.Text<ExtData>>) => void) & ((evt: "mouseOver", event: AMap.MouseOverEvent<AMap.Text<ExtData>>) => void) & ((evt: "mouseOut", event: AMap.MouseOutEvent<AMap.Text<ExtData>>) => void) & ((evt: "mouseMove", event: AMap.MouseMoveEvent<AMap.Text<ExtData>>) => void) & ((evt: "dragStart", event: AMap.DragStartEvent<AMap.Text<ExtData>>) => void) & ((evt: "dragging", event: AMap.DraggingEvent<AMap.Text<ExtData>>) => void) & ((evt: "dragEnd", event: AMap.DragEndEvent<AMap.Text<ExtData>>) => void) & ((evt: "touchStart", event: AMap.TouchStartEvent<AMap.Text<ExtData>>) => void) & ((evt: "touchMove", event: AMap.TouchMoveEvent<AMap.Text<ExtData>>) => void) & ((evt: "touchEnd", event: AMap.TouchEndEvent<AMap.Text<ExtData>>) => void) & ((evt: "moveStart", event: AMap.MoveStartEvent<AMap.Text<ExtData>>) => void) & ((evt: "moveEnd", event: AMap.MoveEndEvent<AMap.Text<ExtData>>) => void) & ((evt: "moving", event: AMap.MovingEvent<AMap.Text<ExtData>>) => void) & ((evt: "moveAlong", event: AMap.MoveAlongEvent<AMap.Text<ExtData>>) => void);
|
|
1670
|
+
}>) => import("vue").VNode & {
|
|
1671
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1672
|
+
};
|
|
1673
|
+
declare const _default$49: typeof __VLS_export$8;
|
|
1674
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1675
|
+
interface BezierCurveEditorExtraInitOptions {
|
|
1676
|
+
/**
|
|
1677
|
+
* 地图对象
|
|
1678
|
+
*/
|
|
1679
|
+
map?: AMap.Map;
|
|
1680
|
+
/**
|
|
1681
|
+
* 要编辑的贝塞尔曲线对象
|
|
1682
|
+
*/
|
|
1683
|
+
target?: MaybeRefOrGetter<AMap.BezierCurve>;
|
|
1684
|
+
}
|
|
1685
|
+
type BezierCurveEditorProps = BezierCurveEditorExtraInitOptions & AMap.BezierCurveEditorOptions;
|
|
1686
|
+
interface BezierCurveEditorEmits {
|
|
1687
|
+
add: [event: AMap.EventAttrs<'add', AMap.BezierCurveEditor>];
|
|
1688
|
+
end: [event: AMap.EventAttrs<'end', AMap.BezierCurveEditor>];
|
|
1689
|
+
addNode: [event: AMap.EventAttrs<'addNode', AMap.BezierCurveEditor>];
|
|
1690
|
+
adjust: [event: AMap.EventAttrs<'adjust', AMap.BezierCurveEditor>];
|
|
1691
|
+
removeNode: [event: AMap.EventAttrs<'removeNode', AMap.BezierCurveEditor>];
|
|
1692
|
+
}
|
|
1693
|
+
declare const __VLS_export$7: import("vue").DefineComponent<BezierCurveEditorProps, {
|
|
1694
|
+
instance: import("vue").ShallowRef<Nullable<AMap.BezierCurveEditor>, Nullable<AMap.BezierCurveEditor>>;
|
|
1695
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1696
|
+
add: (event: AMap.AddEvent<AMap.BezierCurveEditor>) => any;
|
|
1697
|
+
end: (event: AMap.EndEvent<AMap.BezierCurveEditor>) => any;
|
|
1698
|
+
adjust: (event: AMap.AdjustEvent<AMap.BezierCurveEditor>) => any;
|
|
1699
|
+
addNode: (event: AMap.AddNodeEvent<AMap.BezierCurveEditor>) => any;
|
|
1700
|
+
removeNode: (event: AMap.RemoveNodeEvent<AMap.BezierCurveEditor>) => any;
|
|
1701
|
+
}, string, import("vue").PublicProps, Readonly<BezierCurveEditorProps> & Readonly<{
|
|
1702
|
+
onAdd?: ((event: AMap.AddEvent<AMap.BezierCurveEditor>) => any) | undefined;
|
|
1703
|
+
onEnd?: ((event: AMap.EndEvent<AMap.BezierCurveEditor>) => any) | undefined;
|
|
1704
|
+
onAdjust?: ((event: AMap.AdjustEvent<AMap.BezierCurveEditor>) => any) | undefined;
|
|
1705
|
+
onAddNode?: ((event: AMap.AddNodeEvent<AMap.BezierCurveEditor>) => any) | undefined;
|
|
1706
|
+
onRemoveNode?: ((event: AMap.RemoveNodeEvent<AMap.BezierCurveEditor>) => any) | undefined;
|
|
1707
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1708
|
+
declare const _default$2: typeof __VLS_export$7;
|
|
1709
|
+
interface CircleEditorExtraInitOptions {
|
|
1710
|
+
/**
|
|
1711
|
+
* 地图对象
|
|
1712
|
+
*/
|
|
1713
|
+
map?: AMap.Map;
|
|
1714
|
+
/**
|
|
1715
|
+
* 要编辑的圆对象
|
|
1716
|
+
*/
|
|
1717
|
+
target?: MaybeRefOrGetter<AMap.Circle>;
|
|
1718
|
+
}
|
|
1719
|
+
type CircleEditorProps = CircleEditorExtraInitOptions & AMap.CircleEditorOptions;
|
|
1720
|
+
interface CircleEditorEmits {
|
|
1721
|
+
add: [event: AMap.EventAttrs<'add', AMap.CircleEditor>];
|
|
1722
|
+
end: [event: AMap.EventAttrs<'end', AMap.CircleEditor>];
|
|
1723
|
+
adjust: [event: AMap.EventAttrs<'adjust', AMap.CircleEditor>];
|
|
1724
|
+
move: [event: AMap.EventAttrs<'move', AMap.CircleEditor>];
|
|
1725
|
+
}
|
|
1726
|
+
declare const __VLS_export$6: import("vue").DefineComponent<CircleEditorProps, {
|
|
1727
|
+
instance: import("vue").ShallowRef<Nullable<AMap.CircleEditor>, Nullable<AMap.CircleEditor>>;
|
|
1728
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1729
|
+
add: (event: AMap.AddEvent<AMap.CircleEditor>) => any;
|
|
1730
|
+
end: (event: AMap.EndEvent<AMap.CircleEditor>) => any;
|
|
1731
|
+
adjust: (event: AMap.AdjustEvent<AMap.CircleEditor>) => any;
|
|
1732
|
+
move: (event: AMap.MoveEvent<AMap.CircleEditor>) => any;
|
|
1733
|
+
}, string, import("vue").PublicProps, Readonly<CircleEditorProps> & Readonly<{
|
|
1734
|
+
onAdd?: ((event: AMap.AddEvent<AMap.CircleEditor>) => any) | undefined;
|
|
1735
|
+
onEnd?: ((event: AMap.EndEvent<AMap.CircleEditor>) => any) | undefined;
|
|
1736
|
+
onAdjust?: ((event: AMap.AdjustEvent<AMap.CircleEditor>) => any) | undefined;
|
|
1737
|
+
onMove?: ((event: AMap.MoveEvent<AMap.CircleEditor>) => any) | undefined;
|
|
1738
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1739
|
+
declare const _default$6: typeof __VLS_export$6;
|
|
1740
|
+
interface EllipseEditorExtraInitOptions {
|
|
1741
|
+
/**
|
|
1742
|
+
* 地图对象
|
|
1743
|
+
*/
|
|
1744
|
+
map?: AMap.Map;
|
|
1745
|
+
/**
|
|
1746
|
+
* 要编辑的椭圆对象
|
|
1747
|
+
*/
|
|
1748
|
+
target?: MaybeRefOrGetter<AMap.Ellipse>;
|
|
1749
|
+
}
|
|
1750
|
+
type EllipseEditorProps = EllipseEditorExtraInitOptions & AMap.EllipseEditorOptions;
|
|
1751
|
+
interface EllipseEditorEmits {
|
|
1752
|
+
add: [event: AMap.EventAttrs<'add', AMap.EllipseEditor>];
|
|
1753
|
+
end: [event: AMap.EventAttrs<'end', AMap.EllipseEditor>];
|
|
1754
|
+
adjust: [event: AMap.EventAttrs<'adjust', AMap.EllipseEditor>];
|
|
1755
|
+
move: [event: AMap.EventAttrs<'move', AMap.EllipseEditor>];
|
|
1756
|
+
}
|
|
1757
|
+
declare const __VLS_export$5: import("vue").DefineComponent<EllipseEditorProps, {
|
|
1758
|
+
instance: import("vue").ShallowRef<Nullable<AMap.EllipseEditor>, Nullable<AMap.EllipseEditor>>;
|
|
1759
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1760
|
+
add: (event: AMap.AddEvent<AMap.EllipseEditor>) => any;
|
|
1761
|
+
end: (event: AMap.EndEvent<AMap.EllipseEditor>) => any;
|
|
1762
|
+
adjust: (event: AMap.AdjustEvent<AMap.EllipseEditor>) => any;
|
|
1763
|
+
move: (event: AMap.MoveEvent<AMap.EllipseEditor>) => any;
|
|
1764
|
+
}, string, import("vue").PublicProps, Readonly<EllipseEditorProps> & Readonly<{
|
|
1765
|
+
onAdd?: ((event: AMap.AddEvent<AMap.EllipseEditor>) => any) | undefined;
|
|
1766
|
+
onEnd?: ((event: AMap.EndEvent<AMap.EllipseEditor>) => any) | undefined;
|
|
1767
|
+
onAdjust?: ((event: AMap.AdjustEvent<AMap.EllipseEditor>) => any) | undefined;
|
|
1768
|
+
onMove?: ((event: AMap.MoveEvent<AMap.EllipseEditor>) => any) | undefined;
|
|
1769
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1770
|
+
declare const _default$15: typeof __VLS_export$5;
|
|
1771
|
+
interface MouseToolExtraInitOptions {
|
|
1772
|
+
/**
|
|
1773
|
+
* 地图对象
|
|
1774
|
+
*/
|
|
1775
|
+
map?: AMap.Map;
|
|
1776
|
+
/**
|
|
1777
|
+
* 是否在卸载时清除绘制的图形
|
|
1778
|
+
*/
|
|
1779
|
+
clearOnClose?: boolean;
|
|
1780
|
+
}
|
|
1781
|
+
type MouseToolProps = MouseToolExtraInitOptions & AMap.MouseToolOptions;
|
|
1782
|
+
interface MouseToolEmits {
|
|
1783
|
+
draw: [event: AMap.EventAttrs<'draw', AMap.MouseTool>];
|
|
1784
|
+
}
|
|
1785
|
+
declare const __VLS_export$4: import("vue").DefineComponent<MouseToolProps, {
|
|
1786
|
+
instance: import("vue").ShallowRef<Nullable<AMap.MouseTool>, Nullable<AMap.MouseTool>>;
|
|
1787
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1788
|
+
draw: (event: AMap.DrawEvent) => any;
|
|
1789
|
+
}, string, import("vue").PublicProps, Readonly<MouseToolProps> & Readonly<{
|
|
1790
|
+
onDraw?: ((event: AMap.DrawEvent) => any) | undefined;
|
|
1791
|
+
}>, {
|
|
1792
|
+
clearOnClose: boolean;
|
|
1793
|
+
toolBubble: boolean;
|
|
1794
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1795
|
+
declare const _default$36: typeof __VLS_export$4;
|
|
1796
|
+
interface PolygonEditorExtraInitOptions {
|
|
1797
|
+
/**
|
|
1798
|
+
* 地图对象
|
|
1799
|
+
*/
|
|
1800
|
+
map?: AMap.Map;
|
|
1801
|
+
/**
|
|
1802
|
+
* 要编辑的多边形对象
|
|
1803
|
+
*/
|
|
1804
|
+
target?: MaybeRefOrGetter<AMap.Polygon>;
|
|
1805
|
+
}
|
|
1806
|
+
type PolygonEditorProps = PolygonEditorExtraInitOptions & AMap.PolygonEditorOptions;
|
|
1807
|
+
interface PolygonEditorEmits {
|
|
1808
|
+
add: [event: AMap.EventAttrs<'add', AMap.PolygonEditor>];
|
|
1809
|
+
end: [event: AMap.EventAttrs<'end', AMap.PolygonEditor>];
|
|
1810
|
+
adjust: [event: AMap.EventAttrs<'adjust', AMap.PolygonEditor>];
|
|
1811
|
+
addNode: [event: AMap.EventAttrs<'addNode', AMap.PolygonEditor>];
|
|
1812
|
+
removeNode: [event: AMap.EventAttrs<'removeNode', AMap.PolygonEditor>];
|
|
1813
|
+
}
|
|
1814
|
+
declare const __VLS_export$3: import("vue").DefineComponent<PolygonEditorProps, {
|
|
1815
|
+
instance: import("vue").ShallowRef<Nullable<AMap.PolygonEditor>, Nullable<AMap.PolygonEditor>>;
|
|
1816
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1817
|
+
add: (event: AMap.AddEvent<AMap.PolygonEditor>) => any;
|
|
1818
|
+
end: (event: AMap.EndEvent<AMap.PolygonEditor>) => any;
|
|
1819
|
+
adjust: (event: AMap.AdjustEvent<AMap.PolygonEditor>) => any;
|
|
1820
|
+
addNode: (event: AMap.AddNodeEvent<AMap.PolygonEditor>) => any;
|
|
1821
|
+
removeNode: (event: AMap.RemoveNodeEvent<AMap.PolygonEditor>) => any;
|
|
1822
|
+
}, string, import("vue").PublicProps, Readonly<PolygonEditorProps> & Readonly<{
|
|
1823
|
+
onAdd?: ((event: AMap.AddEvent<AMap.PolygonEditor>) => any) | undefined;
|
|
1824
|
+
onEnd?: ((event: AMap.EndEvent<AMap.PolygonEditor>) => any) | undefined;
|
|
1825
|
+
onAdjust?: ((event: AMap.AdjustEvent<AMap.PolygonEditor>) => any) | undefined;
|
|
1826
|
+
onAddNode?: ((event: AMap.AddNodeEvent<AMap.PolygonEditor>) => any) | undefined;
|
|
1827
|
+
onRemoveNode?: ((event: AMap.RemoveNodeEvent<AMap.PolygonEditor>) => any) | undefined;
|
|
1828
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1829
|
+
declare const _default$39: typeof __VLS_export$3;
|
|
1830
|
+
interface PolylineEditorExtraInitOptions {
|
|
1831
|
+
/**
|
|
1832
|
+
* 地图对象
|
|
1833
|
+
*/
|
|
1834
|
+
map?: AMap.Map;
|
|
1835
|
+
/**
|
|
1836
|
+
* 要编辑的折线对象
|
|
1837
|
+
*/
|
|
1838
|
+
target?: MaybeRefOrGetter<AMap.Polyline>;
|
|
1839
|
+
}
|
|
1840
|
+
type PolylineEditorProps = PolylineEditorExtraInitOptions & AMap.PolylineEditorOptions;
|
|
1841
|
+
interface PolylineEditorEmits {
|
|
1842
|
+
add: [event: AMap.EventAttrs<'add', AMap.PolylineEditor>];
|
|
1843
|
+
end: [event: AMap.EventAttrs<'end', AMap.PolylineEditor>];
|
|
1844
|
+
adjust: [event: AMap.EventAttrs<'adjust', AMap.PolylineEditor>];
|
|
1845
|
+
addNode: [event: AMap.EventAttrs<'addNode', AMap.PolylineEditor>];
|
|
1846
|
+
removeNode: [event: AMap.EventAttrs<'removeNode', AMap.PolylineEditor>];
|
|
1847
|
+
}
|
|
1848
|
+
declare const __VLS_export$2: import("vue").DefineComponent<PolylineEditorProps, {
|
|
1849
|
+
instance: import("vue").ShallowRef<Nullable<AMap.PolylineEditor>, Nullable<AMap.PolylineEditor>>;
|
|
1850
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1851
|
+
add: (event: AMap.AddEvent<AMap.PolylineEditor>) => any;
|
|
1852
|
+
end: (event: AMap.EndEvent<AMap.PolylineEditor>) => any;
|
|
1853
|
+
adjust: (event: AMap.AdjustEvent<AMap.PolylineEditor>) => any;
|
|
1854
|
+
addNode: (event: AMap.AddNodeEvent<AMap.PolylineEditor>) => any;
|
|
1855
|
+
removeNode: (event: AMap.RemoveNodeEvent<AMap.PolylineEditor>) => any;
|
|
1856
|
+
}, string, import("vue").PublicProps, Readonly<PolylineEditorProps> & Readonly<{
|
|
1857
|
+
onAdd?: ((event: AMap.AddEvent<AMap.PolylineEditor>) => any) | undefined;
|
|
1858
|
+
onEnd?: ((event: AMap.EndEvent<AMap.PolylineEditor>) => any) | undefined;
|
|
1859
|
+
onAdjust?: ((event: AMap.AdjustEvent<AMap.PolylineEditor>) => any) | undefined;
|
|
1860
|
+
onAddNode?: ((event: AMap.AddNodeEvent<AMap.PolylineEditor>) => any) | undefined;
|
|
1861
|
+
onRemoveNode?: ((event: AMap.RemoveNodeEvent<AMap.PolylineEditor>) => any) | undefined;
|
|
1862
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1863
|
+
declare const _default$41: typeof __VLS_export$2;
|
|
1864
|
+
interface RangingToolExtraInitOptions {
|
|
1865
|
+
/**
|
|
1866
|
+
* 地图对象
|
|
1867
|
+
*/
|
|
1868
|
+
map?: AMap.Map;
|
|
1869
|
+
}
|
|
1870
|
+
type RangingToolProps = RangingToolExtraInitOptions & AMap.RangingToolOptions;
|
|
1871
|
+
interface RangingToolEmits {
|
|
1872
|
+
addNode: [event: AMap.EventAttrs<'addNode', AMap.RangingTool>];
|
|
1873
|
+
removeNode: [event: AMap.EventAttrs<'removeNode', AMap.RangingTool>];
|
|
1874
|
+
end: [event: AMap.EventAttrs<'end', AMap.RangingTool>];
|
|
1875
|
+
}
|
|
1876
|
+
declare const __VLS_export$1: import("vue").DefineComponent<RangingToolProps, {
|
|
1877
|
+
instance: import("vue").ShallowRef<Nullable<AMap.RangingTool>, Nullable<AMap.RangingTool>>;
|
|
1878
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1879
|
+
end: (event: AMap.EndEvent<AMap.RangingTool>) => any;
|
|
1880
|
+
addNode: (event: AMap.AddNodeEvent<AMap.RangingTool>) => any;
|
|
1881
|
+
removeNode: (event: AMap.RemoveNodeEvent<AMap.RangingTool>) => any;
|
|
1882
|
+
}, string, import("vue").PublicProps, Readonly<RangingToolProps> & Readonly<{
|
|
1883
|
+
onEnd?: ((event: AMap.EndEvent<AMap.RangingTool>) => any) | undefined;
|
|
1884
|
+
onAddNode?: ((event: AMap.AddNodeEvent<AMap.RangingTool>) => any) | undefined;
|
|
1885
|
+
onRemoveNode?: ((event: AMap.RemoveNodeEvent<AMap.RangingTool>) => any) | undefined;
|
|
1886
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1887
|
+
declare const _default$43: typeof __VLS_export$1;
|
|
1888
|
+
interface RectangleEditorExtraInitOptions {
|
|
1889
|
+
/**
|
|
1890
|
+
* 地图对象
|
|
1891
|
+
*/
|
|
1892
|
+
map?: AMap.Map;
|
|
1893
|
+
/**
|
|
1894
|
+
* 要编辑的矩形对象
|
|
1895
|
+
*/
|
|
1896
|
+
target?: MaybeRefOrGetter<AMap.Rectangle>;
|
|
1897
|
+
}
|
|
1898
|
+
type RectangleEditorProps = RectangleEditorExtraInitOptions & AMap.RectangleEditorOptions;
|
|
1899
|
+
interface RectangleEditorEmits {
|
|
1900
|
+
add: [event: AMap.EventAttrs<'add', AMap.RectangleEditor>];
|
|
1901
|
+
end: [event: AMap.EventAttrs<'end', AMap.RectangleEditor>];
|
|
1902
|
+
adjust: [event: AMap.EventAttrs<'adjust', AMap.RectangleEditor>];
|
|
1903
|
+
move: [event: AMap.EventAttrs<'move', AMap.RectangleEditor>];
|
|
1904
|
+
}
|
|
1905
|
+
declare const __VLS_export: import("vue").DefineComponent<RectangleEditorProps, {
|
|
1906
|
+
instance: import("vue").ShallowRef<Nullable<AMap.RectangleEditor>, Nullable<AMap.RectangleEditor>>;
|
|
1907
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1908
|
+
add: (event: AMap.AddEvent<AMap.RectangleEditor>) => any;
|
|
1909
|
+
end: (event: AMap.EndEvent<AMap.RectangleEditor>) => any;
|
|
1910
|
+
adjust: (event: AMap.AdjustEvent<AMap.RectangleEditor>) => any;
|
|
1911
|
+
move: (event: AMap.MoveEvent<AMap.RectangleEditor>) => any;
|
|
1912
|
+
}, string, import("vue").PublicProps, Readonly<RectangleEditorProps> & Readonly<{
|
|
1913
|
+
onAdd?: ((event: AMap.AddEvent<AMap.RectangleEditor>) => any) | undefined;
|
|
1914
|
+
onEnd?: ((event: AMap.EndEvent<AMap.RectangleEditor>) => any) | undefined;
|
|
1915
|
+
onAdjust?: ((event: AMap.AdjustEvent<AMap.RectangleEditor>) => any) | undefined;
|
|
1916
|
+
onMove?: ((event: AMap.MoveEvent<AMap.RectangleEditor>) => any) | undefined;
|
|
1917
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1918
|
+
declare const _default$45: typeof __VLS_export;
|
|
1919
|
+
/**
|
|
1920
|
+
* 组件ref实例
|
|
1921
|
+
*/
|
|
1922
|
+
interface CompInstance<T> {
|
|
1923
|
+
instance: T;
|
|
1924
|
+
}
|
|
1925
|
+
type FlattenKeys<T> = T extends ReadonlyArray<infer U> ? FlattenKeys<U> : T;
|
|
1926
|
+
/**
|
|
1927
|
+
* Creates a reactive proxy that omits specific keys from props.
|
|
1928
|
+
* Preserves the original semantic type name layout instead of expanding it.
|
|
1929
|
+
*/
|
|
1930
|
+
export declare function shallowReactiveOmit<T extends Record<string | symbol, any>, Args extends (keyof T | ReadonlyArray<keyof T>)[]>(props: T, ...keys: Args): Omit<T, Extract<FlattenKeys<Args[number]>, keyof T>>;
|
|
1931
|
+
export { _default as APILoader, type APILoaderOptions, type APILoaderProps, _default$1 as BezierCurve, _default$2 as BezierCurveEditor, type BezierCurveEditorEmits, type BezierCurveEditorProps, type BezierCurveEmits, type BezierCurveProps, _default$3 as BuildingLayer, _default$3 as Buildings, type BuildingsEmits, type BuildingsProps, _default$4 as CanvasLayer, type CanvasLayerEmits, type CanvasLayerProps, _default$5 as Circle, _default$6 as CircleEditor, type CircleEditorEmits, type CircleEditorProps, type CircleEmits, _default$7 as CircleMarker, type CircleMarkerEmits, type CircleMarkerProps, type CircleProps, type CompInstance, _default$8 as ContextMenu, type ContextMenuEmits, type ContextMenuProps, _default$9 as ControlBar, type ControlBarEmits, type ControlBarProps, _default$10 as Country, type CountryEmits, type CountryProps, _default$11 as CustomLayer, type CustomLayerEmits, type CustomLayerProps, _default$12 as DistrictLayer, type DistrictLayerEmits, type DistrictLayerProps, _default$13 as ElasticMarker, type ElasticMarkerEmits, type ElasticMarkerProps, _default$14 as Ellipse, _default$15 as EllipseEditor, type EllipseEditorEmits, type EllipseEditorProps, type EllipseEmits, type EllipseProps, _default$16 as Flexible, type FlexibleEmits, type FlexibleProps, _default$17 as GLCustomLayer, type GLCustomLayerEmits, type GLCustomLayerProps, _default$18 as Geolocation, type GeolocationEmits, type GeolocationProps, _default$19 as HawkEye, type HawkEyeEmits, type HawkEyeProps, _default$20 as HeatMap, type HeatMapProps, _default$21 as ImageLayer, type ImageLayerEmits, type ImageLayerProps, _default$22 as IndexCluster, type IndexClusterEmits, type IndexClusterProps, _default$23 as IndoorMap, type IndoorMapEmits, type IndoorMapProps, _default$24 as InfoWindow, type InfoWindowEmits, type InfoWindowProps, _default$25 as LabelMarker, type LabelMarkerEmits, type LabelMarkerProps, _default$26 as LabelsLayer, type LabelsLayerEmits, type LabelsLayerProps, type LayerEmits, _default$27 as LayerGroup, type LayerGroupEmits, type LayerGroupProps, LoadStatus, _default$28 as Map, type MapInstance, type MapProps, _default$29 as MapType, type MapTypeEmits, type MapTypeProps, _default$30 as Mapbox, type MapboxEmits, type MapboxProps, _default$31 as MapboxVectorTileLayer, type MapboxVectorTileLayerEmits, type MapboxVectorTileLayerProps, _default$32 as Mark, type MarkEmits, type MarkProps, _default$33 as Marker, _default$34 as MarkerCluster, type MarkerClusterEmits, type MarkerClusterProps, type MarkerEmits, type MarkerProps, _default$35 as MassMarks, type MassMarksEmits, type MassMarksProps, _default$36 as MouseTool, type MouseToolEmits, type MouseToolProps, _default$37 as OverlayGroup, type OverlayGroupEmits, type OverlayGroupProps, _default$38 as Polygon, _default$39 as PolygonEditor, type PolygonEditorEmits, type PolygonEditorProps, type PolygonEmits, type PolygonProps, _default$40 as Polyline, _default$41 as PolylineEditor, type PolylineEditorEmits, type PolylineEditorProps, type PolylineEmits, type PolylineProps, _default$42 as Province, type ProvinceEmits, type ProvinceProps, _default$43 as RangingTool, type RangingToolEmits, type RangingToolProps, _default$44 as Rectangle, _default$45 as RectangleEditor, type RectangleEditorEmits, type RectangleEditorProps, type RectangleEmits, type RectangleProps, _default$46 as RoadNet, type RoadNetEmits, type RoadNetProps, _default$47 as Satellite, type SatelliteEmits, type SatelliteProps, _default$48 as Scale, type ScaleEmits, type ScaleProps, _default$49 as Text, type TextEmits, type TextProps, _default$50 as TileLayer, type TileLayerEmits, type TileLayerProps, _default$51 as ToolBar, type ToolBarEmits, type ToolBarProps, _default$52 as Traffic, type TrafficEmits, type TrafficProps, _default$53 as VectorLayer, type VectorLayerProps, _default$54 as WMS, type WMSEmits, type WMSProps, _default$55 as WMTS, type WMTSEmits, type WMTSProps, _default$56 as World, type WorldEmits, type WorldProps, useAPILoader, _default$57 as useInstance };
|