@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/dist/loca.d.ts ADDED
@@ -0,0 +1,541 @@
1
+ import { ShallowRef } from "vue";
2
+ import { Nullable } from "@cn-map/gaode-shared/types";
3
+ interface LayerExtraInitOptions<Properties = any> {
4
+ /**
5
+ * 数据源
6
+ */
7
+ source?: Nullable<Loca.GeoJSONSource<Properties> | Loca.GeoBufferSource<Properties>>;
8
+ /**
9
+ * 淡入淡出效果
10
+ */
11
+ duration?: {
12
+ /**
13
+ * 淡入效果,单位毫秒
14
+ * - 图层将会按照设置的时间将透明度从 0 过渡到 `opacity` 设置的值
15
+ */
16
+ show?: number;
17
+ /**
18
+ * 淡出效果,单位毫秒
19
+ * - 图层将会按照设置的时间将透明度从 `opacity` 的值过渡到 0
20
+ */
21
+ hide?: number;
22
+ };
23
+ }
24
+ interface LayerEmits<L extends Loca.Layer> {
25
+ complete: [event: AMap.EventAttrs<'complete', L>];
26
+ loaded: [event: AMap.EventAttrs<'loaded', L>];
27
+ show: [];
28
+ hide: [];
29
+ }
30
+ type GridLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
31
+ /**
32
+ * 图层的样式
33
+ */
34
+ style?: Loca.GridLayerStyle<Properties>;
35
+ };
36
+ type GridLayerProps<Properties = any> = GridLayerExtraInitProps<Properties> & Loca.GridLayerOptions;
37
+ type GridLayerEmits<Properties = any> = LayerEmits<Loca.GridLayer<Properties>>;
38
+ declare const __VLS_export$21: <Properties>(__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<{
39
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$14<GridLayerProps<any> & {
40
+ onHide?: (() => any) | undefined;
41
+ onShow?: (() => any) | undefined;
42
+ onComplete?: ((event: AMap.CompleteEvent<Loca.GridLayer<Properties>>) => any) | undefined;
43
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
44
+ }> & (typeof globalThis extends {
45
+ __VLS_PROPS_FALLBACK: infer P;
46
+ } ? P : {});
47
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
48
+ instance: import("vue").ShallowRef<Loca.GridLayer<Properties>, Loca.GridLayer<Properties>>;
49
+ }>) => void;
50
+ attrs: any;
51
+ slots: {};
52
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.GridLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
53
+ }>) => import("vue").VNode & {
54
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
55
+ };
56
+ declare const _default$4: typeof __VLS_export$21;
57
+ type __VLS_PrettifyLocal$14<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
58
+ type HeatMapLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
59
+ /**
60
+ * 图层的样式
61
+ */
62
+ style?: Loca.HeatMapLayerStyle<Properties>;
63
+ };
64
+ type HeatMapLayerProps<Properties = any> = HeatMapLayerExtraInitProps<Properties> & Loca.HeatMapLayerOptions;
65
+ type HeatMapLayerEmits<Properties = any> = LayerEmits<Loca.HeatMapLayer<Properties>>;
66
+ declare const __VLS_export$20: <Properties>(__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<{
67
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$13<HeatMapLayerProps<any> & {
68
+ onHide?: (() => any) | undefined;
69
+ onShow?: (() => any) | undefined;
70
+ onComplete?: ((event: AMap.CompleteEvent<Loca.HeatMapLayer<Properties>>) => any) | undefined;
71
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
72
+ }> & (typeof globalThis extends {
73
+ __VLS_PROPS_FALLBACK: infer P;
74
+ } ? P : {});
75
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
76
+ instance: import("vue").ShallowRef<Loca.HeatMapLayer<Properties>, Loca.HeatMapLayer<Properties>>;
77
+ }>) => void;
78
+ attrs: any;
79
+ slots: {};
80
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.HeatMapLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
81
+ }>) => import("vue").VNode & {
82
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
83
+ };
84
+ declare const _default$5: typeof __VLS_export$20;
85
+ type __VLS_PrettifyLocal$13<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
86
+ type HexagonLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
87
+ /**
88
+ * 图层的样式
89
+ */
90
+ style?: Loca.HexagonLayerStyle<Properties>;
91
+ };
92
+ type HexagonLayerProps<Properties = any> = HexagonLayerExtraInitProps<Properties> & Loca.HexagonLayerOptions;
93
+ type HexagonLayerEmits<Properties = any> = LayerEmits<Loca.HexagonLayer<Properties>>;
94
+ declare const __VLS_export$19: <Properties>(__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<{
95
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$12<HexagonLayerProps<any> & {
96
+ onHide?: (() => any) | undefined;
97
+ onShow?: (() => any) | undefined;
98
+ onComplete?: ((event: AMap.CompleteEvent<Loca.HexagonLayer<Properties>>) => any) | undefined;
99
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
100
+ }> & (typeof globalThis extends {
101
+ __VLS_PROPS_FALLBACK: infer P;
102
+ } ? P : {});
103
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
104
+ instance: import("vue").ShallowRef<Loca.HexagonLayer<Properties>, Loca.HexagonLayer<Properties>>;
105
+ }>) => void;
106
+ attrs: any;
107
+ slots: {};
108
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.HexagonLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
109
+ }>) => import("vue").VNode & {
110
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
111
+ };
112
+ declare const _default$6: typeof __VLS_export$19;
113
+ type __VLS_PrettifyLocal$12<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
114
+ type IconLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
115
+ /**
116
+ * 图层的样式
117
+ */
118
+ style?: Loca.IconLayerStyle<Properties>;
119
+ };
120
+ type IconLayerProps<Properties = any> = IconLayerExtraInitProps<Properties> & Loca.IconLayerOptions;
121
+ type IconLayerEmits<Properties = any> = LayerEmits<Loca.IconLayer<Properties>>;
122
+ declare const __VLS_export$18: <Properties>(__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<{
123
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$11<IconLayerProps<any> & {
124
+ onHide?: (() => any) | undefined;
125
+ onShow?: (() => any) | undefined;
126
+ onComplete?: ((event: AMap.CompleteEvent<Loca.IconLayer<Properties>>) => any) | undefined;
127
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
128
+ }> & (typeof globalThis extends {
129
+ __VLS_PROPS_FALLBACK: infer P;
130
+ } ? P : {});
131
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
132
+ instance: import("vue").ShallowRef<Loca.IconLayer<Properties>, Loca.IconLayer<Properties>>;
133
+ }>) => void;
134
+ attrs: any;
135
+ slots: {};
136
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.IconLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
137
+ }>) => import("vue").VNode & {
138
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
139
+ };
140
+ declare const _default$7: typeof __VLS_export$18;
141
+ type __VLS_PrettifyLocal$11<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
142
+ type LabelsLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
143
+ /**
144
+ * 图层的样式
145
+ */
146
+ style?: Loca.LabelsLayerStyle<Properties>;
147
+ };
148
+ type LabelsLayerProps<Properties = any> = LabelsLayerExtraInitProps<Properties> & Loca.LabelsLayerOptions;
149
+ type LabelsLayerEmits<Properties = any> = LayerEmits<Loca.LabelsLayer<Properties>>;
150
+ declare const __VLS_export$17: <Properties>(__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<{
151
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$10<LabelsLayerProps<any> & {
152
+ onHide?: (() => any) | undefined;
153
+ onShow?: (() => any) | undefined;
154
+ onComplete?: ((event: AMap.CompleteEvent<Loca.LabelsLayer<Properties>>) => any) | undefined;
155
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
156
+ }> & (typeof globalThis extends {
157
+ __VLS_PROPS_FALLBACK: infer P;
158
+ } ? P : {});
159
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
160
+ instance: import("vue").ShallowRef<Loca.LabelsLayer<Properties>, Loca.LabelsLayer<Properties>>;
161
+ }>) => void;
162
+ attrs: any;
163
+ slots: {};
164
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.LabelsLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
165
+ }>) => import("vue").VNode & {
166
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
167
+ };
168
+ declare const _default$8: typeof __VLS_export$17;
169
+ type __VLS_PrettifyLocal$10<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
170
+ type LaserLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
171
+ /**
172
+ * 图层的样式
173
+ */
174
+ style?: Loca.LaserLayerStyle<Properties>;
175
+ };
176
+ type LaserLayerProps<Properties = any> = LaserLayerExtraInitProps<Properties> & Loca.LaserLayerOptions;
177
+ type LaserLayerEmits<Properties = any> = LayerEmits<Loca.LaserLayer<Properties>>;
178
+ declare const __VLS_export$16: <Properties>(__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<{
179
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$9<LaserLayerProps<any> & {
180
+ onHide?: (() => any) | undefined;
181
+ onShow?: (() => any) | undefined;
182
+ onComplete?: ((event: AMap.CompleteEvent<Loca.LaserLayer<Properties>>) => any) | undefined;
183
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
184
+ }> & (typeof globalThis extends {
185
+ __VLS_PROPS_FALLBACK: infer P;
186
+ } ? P : {});
187
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
188
+ instance: import("vue").ShallowRef<Loca.LaserLayer<Properties>, Loca.LaserLayer<Properties>>;
189
+ }>) => void;
190
+ attrs: any;
191
+ slots: {};
192
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.LaserLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
193
+ }>) => import("vue").VNode & {
194
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
195
+ };
196
+ declare const _default$9: typeof __VLS_export$16;
197
+ type __VLS_PrettifyLocal$9<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
198
+ type LineLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
199
+ /**
200
+ * 图层的样式
201
+ */
202
+ style?: Loca.LineLayerStyle<Properties>;
203
+ };
204
+ type LineLayerProps<Properties = any> = LineLayerExtraInitProps<Properties> & Loca.LineLayerOptions;
205
+ type LineLayerEmits<Properties = any> = LayerEmits<Loca.LineLayer<Properties>>;
206
+ declare const __VLS_export$15: <Properties>(__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<{
207
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$8<LineLayerProps<any> & {
208
+ onHide?: (() => any) | undefined;
209
+ onShow?: (() => any) | undefined;
210
+ onComplete?: ((event: AMap.CompleteEvent<Loca.LineLayer<Properties>>) => any) | undefined;
211
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
212
+ }> & (typeof globalThis extends {
213
+ __VLS_PROPS_FALLBACK: infer P;
214
+ } ? P : {});
215
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
216
+ instance: import("vue").ShallowRef<Loca.LineLayer<Properties>, Loca.LineLayer<Properties>>;
217
+ }>) => void;
218
+ attrs: any;
219
+ slots: {};
220
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.LineLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
221
+ }>) => import("vue").VNode & {
222
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
223
+ };
224
+ declare const _default$11: typeof __VLS_export$15;
225
+ type __VLS_PrettifyLocal$8<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
226
+ type LinkLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
227
+ /**
228
+ * 图层的样式
229
+ */
230
+ style?: Loca.LinkLayerStyle<Properties>;
231
+ };
232
+ type LinkLayerProps<Properties = any> = LinkLayerExtraInitProps<Properties> & Loca.LinkLayerOptions;
233
+ type LinkLayerEmits<Properties = any> = LayerEmits<Loca.LinkLayer<Properties>>;
234
+ declare const __VLS_export$14: <Properties>(__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<{
235
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$7<LinkLayerProps<any> & {
236
+ onHide?: (() => any) | undefined;
237
+ onShow?: (() => any) | undefined;
238
+ onComplete?: ((event: AMap.CompleteEvent<Loca.LinkLayer<Properties>>) => any) | undefined;
239
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
240
+ }> & (typeof globalThis extends {
241
+ __VLS_PROPS_FALLBACK: infer P;
242
+ } ? P : {});
243
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
244
+ instance: import("vue").ShallowRef<Loca.LinkLayer<Properties>, Loca.LinkLayer<Properties>>;
245
+ }>) => void;
246
+ attrs: any;
247
+ slots: {};
248
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.LinkLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
249
+ }>) => import("vue").VNode & {
250
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
251
+ };
252
+ declare const _default$12: typeof __VLS_export$14;
253
+ type __VLS_PrettifyLocal$7<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
254
+ type PointLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
255
+ /**
256
+ * 图层的样式
257
+ */
258
+ style?: Loca.PointLayerStyle<Properties>;
259
+ };
260
+ type PointLayerProps<Properties = any> = PointLayerExtraInitProps<Properties> & Loca.PointLayerOptions;
261
+ type PointLayerEmits<Properties = any> = LayerEmits<Loca.PointLayer<Properties>>;
262
+ declare const __VLS_export$13: <Properties>(__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<{
263
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$6<PointLayerProps<any> & {
264
+ onHide?: (() => any) | undefined;
265
+ onShow?: (() => any) | undefined;
266
+ onComplete?: ((event: AMap.CompleteEvent<Loca.PointLayer<Properties>>) => any) | undefined;
267
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
268
+ }> & (typeof globalThis extends {
269
+ __VLS_PROPS_FALLBACK: infer P;
270
+ } ? P : {});
271
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
272
+ instance: import("vue").ShallowRef<Loca.PointLayer<Properties>, Loca.PointLayer<Properties>>;
273
+ }>) => void;
274
+ attrs: any;
275
+ slots: {};
276
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.PointLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
277
+ }>) => import("vue").VNode & {
278
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
279
+ };
280
+ declare const _default$14: typeof __VLS_export$13;
281
+ type __VLS_PrettifyLocal$6<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
282
+ type PolygonLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
283
+ /**
284
+ * 图层的样式
285
+ */
286
+ style?: Loca.PolygonLayerStyle<Properties>;
287
+ };
288
+ type PolygonLayerProps<Properties = any> = PolygonLayerExtraInitProps<Properties> & Loca.PolygonLayerOptions;
289
+ type PolygonLayerEmits<Properties = any> = LayerEmits<Loca.PolygonLayer<Properties>>;
290
+ declare const __VLS_export$12: <Properties>(__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<{
291
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$5<PolygonLayerProps<any> & {
292
+ onHide?: (() => any) | undefined;
293
+ onShow?: (() => any) | undefined;
294
+ onComplete?: ((event: AMap.CompleteEvent<Loca.PolygonLayer<Properties>>) => any) | undefined;
295
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
296
+ }> & (typeof globalThis extends {
297
+ __VLS_PROPS_FALLBACK: infer P;
298
+ } ? P : {});
299
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
300
+ instance: import("vue").ShallowRef<Loca.PolygonLayer<Properties>, Loca.PolygonLayer<Properties>>;
301
+ }>) => void;
302
+ attrs: any;
303
+ slots: {};
304
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.PolygonLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
305
+ }>) => import("vue").VNode & {
306
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
307
+ };
308
+ declare const _default$16: typeof __VLS_export$12;
309
+ type __VLS_PrettifyLocal$5<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
310
+ type PrismLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
311
+ /**
312
+ * 图层的样式
313
+ */
314
+ style?: Loca.PrismLayerStyle<Properties>;
315
+ };
316
+ type PrismLayerProps<Properties = any> = PrismLayerExtraInitProps<Properties> & Loca.PrismLayerOptions;
317
+ type PrismLayerEmits<Properties = any> = LayerEmits<Loca.PrismLayer<Properties>>;
318
+ declare const __VLS_export$11: <Properties>(__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<{
319
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$4<PrismLayerProps<any> & {
320
+ onHide?: (() => any) | undefined;
321
+ onShow?: (() => any) | undefined;
322
+ onComplete?: ((event: AMap.CompleteEvent<Loca.PrismLayer<Properties>>) => any) | undefined;
323
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
324
+ }> & (typeof globalThis extends {
325
+ __VLS_PROPS_FALLBACK: infer P;
326
+ } ? P : {});
327
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
328
+ instance: import("vue").ShallowRef<Loca.PrismLayer<Properties>, Loca.PrismLayer<Properties>>;
329
+ }>) => void;
330
+ attrs: any;
331
+ slots: {};
332
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.PrismLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
333
+ }>) => import("vue").VNode & {
334
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
335
+ };
336
+ declare const _default$17: typeof __VLS_export$11;
337
+ type __VLS_PrettifyLocal$4<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
338
+ type PulseLineLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
339
+ /**
340
+ * 图层的样式
341
+ */
342
+ style?: Loca.PulseLineLayerStyle<Properties>;
343
+ };
344
+ type PulseLineLayerProps<Properties = any> = PulseLineLayerExtraInitProps<Properties> & Loca.PulseLineLayerOptions;
345
+ type PulseLineLayerEmits<Properties = any> = LayerEmits<Loca.PulseLineLayer<Properties>>;
346
+ declare const __VLS_export$10: <Properties>(__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<{
347
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$3<PulseLineLayerProps<any> & {
348
+ onHide?: (() => any) | undefined;
349
+ onShow?: (() => any) | undefined;
350
+ onComplete?: ((event: AMap.CompleteEvent<Loca.PulseLineLayer<Properties>>) => any) | undefined;
351
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
352
+ }> & (typeof globalThis extends {
353
+ __VLS_PROPS_FALLBACK: infer P;
354
+ } ? P : {});
355
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
356
+ instance: import("vue").ShallowRef<Loca.PulseLineLayer<Properties>, Loca.PulseLineLayer<Properties>>;
357
+ }>) => void;
358
+ attrs: any;
359
+ slots: {};
360
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.PulseLineLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
361
+ }>) => import("vue").VNode & {
362
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
363
+ };
364
+ declare const _default$18: typeof __VLS_export$10;
365
+ type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
366
+ type PulseLinkLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
367
+ /**
368
+ * 图层的样式
369
+ */
370
+ style?: Loca.PulseLinkLayerStyle<Properties>;
371
+ };
372
+ type PulseLinkLayerProps<Properties = any> = PulseLinkLayerExtraInitProps<Properties> & Loca.PulseLinkLayerOptions;
373
+ type PulseLinkLayerEmits<Properties = any> = LayerEmits<Loca.PulseLinkLayer<Properties>>;
374
+ declare const __VLS_export$9: <Properties>(__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<{
375
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$2<PulseLinkLayerProps<any> & {
376
+ onHide?: (() => any) | undefined;
377
+ onShow?: (() => any) | undefined;
378
+ onComplete?: ((event: AMap.CompleteEvent<Loca.PulseLinkLayer<Properties>>) => any) | undefined;
379
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
380
+ }> & (typeof globalThis extends {
381
+ __VLS_PROPS_FALLBACK: infer P;
382
+ } ? P : {});
383
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
384
+ instance: import("vue").ShallowRef<Loca.PulseLinkLayer<Properties>, Loca.PulseLinkLayer<Properties>>;
385
+ }>) => void;
386
+ attrs: any;
387
+ slots: {};
388
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.PulseLinkLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
389
+ }>) => import("vue").VNode & {
390
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
391
+ };
392
+ declare const _default$19: typeof __VLS_export$9;
393
+ type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
394
+ type ScatterLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
395
+ /**
396
+ * 图层的样式
397
+ */
398
+ style?: Loca.ScatterLayerStyle<Properties>;
399
+ };
400
+ type ScatterLayerProps<Properties = any> = ScatterLayerExtraInitProps<Properties> & Loca.ScatterLayerOptions;
401
+ type ScatterLayerEmits<Properties = any> = LayerEmits<Loca.ScatterLayer<Properties>>;
402
+ declare const __VLS_export$8: <Properties>(__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<{
403
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$1<ScatterLayerProps<any> & {
404
+ onHide?: (() => any) | undefined;
405
+ onShow?: (() => any) | undefined;
406
+ onComplete?: ((event: AMap.CompleteEvent<Loca.ScatterLayer<Properties>>) => any) | undefined;
407
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
408
+ }> & (typeof globalThis extends {
409
+ __VLS_PROPS_FALLBACK: infer P;
410
+ } ? P : {});
411
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
412
+ instance: import("vue").ShallowRef<Loca.ScatterLayer<Properties>, Loca.ScatterLayer<Properties>>;
413
+ }>) => void;
414
+ attrs: any;
415
+ slots: {};
416
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.ScatterLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
417
+ }>) => import("vue").VNode & {
418
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
419
+ };
420
+ declare const _default$20: typeof __VLS_export$8;
421
+ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
422
+ type ZMarkerLayerExtraInitProps<Properties = any> = LayerExtraInitOptions & {
423
+ /**
424
+ * 图层的样式
425
+ */
426
+ style?: Loca.ZMarkerLayerStyle<Properties>;
427
+ };
428
+ type ZMarkerLayerProps<Properties = any> = ZMarkerLayerExtraInitProps<Properties> & Loca.ZMarkerLayerOptions;
429
+ type ZMarkerLayerEmits<Properties = any> = LayerEmits<Loca.ZMarkerLayer<Properties>>;
430
+ declare const __VLS_export$7: <Properties>(__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<{
431
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<ZMarkerLayerProps<any> & {
432
+ onHide?: (() => any) | undefined;
433
+ onShow?: (() => any) | undefined;
434
+ onComplete?: ((event: AMap.CompleteEvent<Loca.ZMarkerLayer<Properties>>) => any) | undefined;
435
+ onLoaded?: ((event: AMap.LoadedEvent) => any) | undefined;
436
+ }> & (typeof globalThis extends {
437
+ __VLS_PROPS_FALLBACK: infer P;
438
+ } ? P : {});
439
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
440
+ instance: import("vue").ShallowRef<Loca.ZMarkerLayer<Properties>, Loca.ZMarkerLayer<Properties>>;
441
+ }>) => void;
442
+ attrs: any;
443
+ slots: {};
444
+ emit: ((evt: "hide") => void) & ((evt: "show") => void) & ((evt: "complete", event: AMap.CompleteEvent<Loca.ZMarkerLayer<Properties>>) => void) & ((evt: "loaded", event: AMap.LoadedEvent) => void);
445
+ }>) => import("vue").VNode & {
446
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
447
+ };
448
+ declare const _default$21: typeof __VLS_export$7;
449
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
450
+ type LegendProps = Loca.LegendOptions;
451
+ declare const __VLS_export$6: import("vue").DefineComponent<Loca.LegendOptions, {
452
+ instance: import("vue").ShallowRef<Loca.Legend, Loca.Legend>;
453
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Loca.LegendOptions> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
454
+ declare const _default$10: typeof __VLS_export$6;
455
+ interface LightProps {
456
+ loca?: Loca.Container;
457
+ }
458
+ type AmbientLightProps = LightProps & Loca.AmbientLightProperty;
459
+ declare const __VLS_export$5: import("vue").DefineComponent<AmbientLightProps, {
460
+ instance: import("vue").ShallowRef<Loca.AmbientLight, Loca.AmbientLight>;
461
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AmbientLightProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
462
+ declare const _default: typeof __VLS_export$5;
463
+ type DirectionalLightProps = LightProps & Loca.DirectionalLightProperty;
464
+ declare const __VLS_export$4: import("vue").DefineComponent<DirectionalLightProps, {
465
+ instance: import("vue").ShallowRef<Loca.DirectionalLight, Loca.DirectionalLight>;
466
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DirectionalLightProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
467
+ declare const _default$1: typeof __VLS_export$4;
468
+ type PointLightProps = LightProps & Loca.PointLightProperty;
469
+ declare const __VLS_export$3: import("vue").DefineComponent<PointLightProps, {
470
+ instance: import("vue").ShallowRef<Loca.PointLight, Loca.PointLight>;
471
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PointLightProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
472
+ declare const _default$15: typeof __VLS_export$3;
473
+ /**
474
+ * 获取Loca实例
475
+ * @returns {ShallowRef<Nullable<Loca.Container>>} - Loca实例ref
476
+ */
477
+ export declare function useLoca(): ShallowRef<Nullable<Loca.Container>>;
478
+ interface LocaInstance {
479
+ instance: Nullable<Loca.Container>;
480
+ }
481
+ type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
482
+ type LocaProps = Optional<Loca.LocaOptions, 'map'>;
483
+ declare const __VLS_template$2: () => {
484
+ __VLS_Slots: {
485
+ default?: (props: {}) => any;
486
+ };
487
+ };
488
+ type __VLS_Slots$2 = ReturnType<typeof __VLS_template$2>['__VLS_Slots'];
489
+ declare const __VLS_base$2: import("vue").DefineComponent<LocaProps, {
490
+ instance: import("vue").ShallowRef<Nullable<Loca.Container>, Nullable<Loca.Container>>;
491
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LocaProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
492
+ declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
493
+ declare const _default$13: typeof __VLS_export$2;
494
+ type __VLS_WithSlots$2<T, S> = T & {
495
+ new (): {
496
+ $slots: S;
497
+ };
498
+ };
499
+ /**
500
+ * 获取数据源实例
501
+ * @returns {ShallowRef<Nullable<Loca.GeoBufferSource | Loca.GeoJSONSource>>} - 数据源实例ref
502
+ */
503
+ export declare function useDataSource(): ShallowRef<Nullable<Loca.GeoBufferSource | Loca.GeoJSONSource>>;
504
+ interface DataSourceProps {
505
+ layer?: Loca.Layer;
506
+ }
507
+ type GeoBufferSourceProps = DataSourceProps & Loca.GeoBufferSourceOptions;
508
+ declare const __VLS_template$1: () => {
509
+ __VLS_Slots: {
510
+ default?: (props: {}) => any;
511
+ };
512
+ };
513
+ type __VLS_Slots$1 = ReturnType<typeof __VLS_template$1>['__VLS_Slots'];
514
+ declare const __VLS_base$1: import("vue").DefineComponent<GeoBufferSourceProps, {
515
+ instance: import("vue").ShallowRef<Loca.GeoBufferSource<any>, Loca.GeoBufferSource<any>>;
516
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GeoBufferSourceProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
517
+ declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
518
+ declare const _default$2: typeof __VLS_export$1;
519
+ type __VLS_WithSlots$1<T, S> = T & {
520
+ new (): {
521
+ $slots: S;
522
+ };
523
+ };
524
+ type GeoJSONSourceProps = DataSourceProps & Loca.GeoJSONSourceOptions;
525
+ declare const __VLS_template: () => {
526
+ __VLS_Slots: {
527
+ default?: (props: {}) => any;
528
+ };
529
+ };
530
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
531
+ declare const __VLS_base: import("vue").DefineComponent<GeoJSONSourceProps, {
532
+ instance: import("vue").ShallowRef<Loca.GeoJSONSource<any, Loca.GeoJSONSourceOptions, "GeoJSONSource", "geojson">, Loca.GeoJSONSource<any, Loca.GeoJSONSourceOptions, "GeoJSONSource", "geojson">>;
533
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GeoJSONSourceProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
534
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
535
+ declare const _default$3: typeof __VLS_export;
536
+ type __VLS_WithSlots<T, S> = T & {
537
+ new (): {
538
+ $slots: S;
539
+ };
540
+ };
541
+ export { _default as AmbientLight, type AmbientLightProps, _default$1 as DirectionalLight, type DirectionalLightProps, _default$2 as GeoBufferSource, type GeoBufferSourceProps, _default$3 as GeoJSONSource, type GeoJSONSourceProps, _default$4 as GridLayer, type GridLayerEmits, type GridLayerProps, _default$5 as HeatMapLayer, type HeatMapLayerEmits, type HeatMapLayerProps, _default$6 as HexagonLayer, type HexagonLayerEmits, type HexagonLayerProps, _default$7 as IconLayer, type IconLayerEmits, type IconLayerProps, _default$8 as LabelsLayer, type LabelsLayerEmits, type LabelsLayerProps, _default$9 as LaserLayer, type LaserLayerEmits, type LaserLayerProps, _default$10 as Legend, type LegendProps, _default$11 as LineLayer, type LineLayerEmits, type LineLayerProps, _default$12 as LinkLayer, type LinkLayerEmits, type LinkLayerProps, _default$13 as Loca, type LocaInstance, type LocaProps, _default$14 as PointLayer, type PointLayerEmits, type PointLayerProps, _default$15 as PointLight, type PointLightProps, _default$16 as PolygonLayer, type PolygonLayerEmits, type PolygonLayerProps, _default$17 as PrismLayer, type PrismLayerEmits, type PrismLayerProps, _default$18 as PulseLineLayer, type PulseLineLayerEmits, type PulseLineLayerProps, _default$19 as PulseLinkLayer, type PulseLinkLayerEmits, type PulseLinkLayerProps, _default$20 as ScatterLayer, type ScatterLayerEmits, type ScatterLayerProps, _default$21 as ZMarkerLayer, type ZMarkerLayerEmits, type ZMarkerLayerProps };