ry-vue-mapv3 0.0.2 → 0.0.4

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.
Files changed (63) hide show
  1. package/dist/directives/index.d.ts +5 -0
  2. package/dist/hooks/useMap.d.ts +1 -0
  3. package/dist/hooks/useMapEvent2.d.ts +1 -0
  4. package/dist/hooks/useMapTool.d.ts +13 -0
  5. package/dist/hooks/useMapWatch.d.ts +4 -0
  6. package/dist/index.d.ts +19 -0
  7. package/dist/index.js +21900 -0
  8. package/dist/index.mjs +21899 -0
  9. package/dist/models/base/index.d.ts +10 -0
  10. package/dist/models/ryClusters/index.d.ts +49 -0
  11. package/dist/models/ryClustersMarker/index.d.ts +42 -0
  12. package/dist/models/ryCrossHair/index.d.ts +10 -0
  13. package/dist/models/ryKML/index.d.ts +19 -0
  14. package/dist/models/ryKMLs/index.d.ts +31 -0
  15. package/dist/models/ryLines/index.d.ts +51 -0
  16. package/dist/models/ryMap/index.d.ts +79 -0
  17. package/dist/models/ryMapTool/index.d.ts +90 -0
  18. package/dist/models/ryPolygon/index.d.ts +44 -0
  19. package/dist/models/ryPolygonGeo/index.d.ts +26 -0
  20. package/dist/models/ryPolygons/index.d.ts +95 -0
  21. package/dist/models/ryStaticLayer/index.d.ts +19 -0
  22. package/dist/models/ryStaticLayers/index.d.ts +31 -0
  23. package/dist/models/ryView/index.d.ts +26 -0
  24. package/dist/models/ryWMSs/index.d.ts +30 -0
  25. package/dist/models/ryWMTSs/index.d.ts +30 -0
  26. package/dist/models/switchMap/index.d.ts +35 -0
  27. package/dist/ry-vue-mapv3.css +953 -0
  28. package/dist/ryClusters/index.d.ts +3 -0
  29. package/dist/ryClusters/src/index.d.ts +101 -0
  30. package/dist/ryClustersMarker/index.d.ts +3 -0
  31. package/dist/ryClustersMarker/src/index.d.ts +100 -0
  32. package/dist/ryCrossHair/index.d.ts +3 -0
  33. package/dist/ryCrossHair/src/index.d.ts +28 -0
  34. package/dist/ryKML/index.d.ts +3 -0
  35. package/dist/ryKML/src/index.d.ts +60 -0
  36. package/dist/ryKMLs/index.d.ts +3 -0
  37. package/dist/ryKMLs/src/index.d.ts +87 -0
  38. package/dist/ryLines/index.d.ts +3 -0
  39. package/dist/ryLines/src/index.d.ts +135 -0
  40. package/dist/ryMap/index.d.ts +3 -0
  41. package/dist/ryMap/src/index.d.ts +1334 -0
  42. package/dist/ryMapTool/index.d.ts +3 -0
  43. package/dist/ryMapTool/src/index.d.ts +236 -0
  44. package/dist/ryPolygon/index.d.ts +3 -0
  45. package/dist/ryPolygon/src/index.d.ts +117 -0
  46. package/dist/ryPolygonGeo/index.d.ts +3 -0
  47. package/dist/ryPolygonGeo/src/index.d.ts +64 -0
  48. package/dist/ryPolygons/index.d.ts +3 -0
  49. package/dist/ryStaticLayer/index.d.ts +3 -0
  50. package/dist/ryStaticLayer/src/index.d.ts +60 -0
  51. package/dist/ryStaticLayers/index.d.ts +3 -0
  52. package/dist/ryStaticLayers/src/index.d.ts +87 -0
  53. package/dist/ryWMSs/index.d.ts +3 -0
  54. package/dist/ryWMSs/src/index.d.ts +69 -0
  55. package/dist/ryWMTSs/index.d.ts +3 -0
  56. package/dist/ryWMTSs/src/index.d.ts +69 -0
  57. package/dist/switchMap/index.d.ts +3 -0
  58. package/dist/switchMap/src/index.d.ts +82 -0
  59. package/dist/utils/lMapServices.d.ts +149 -0
  60. package/package.json +11 -2
  61. package/dist/ry-vue-mapV3.css +0 -1
  62. package/dist/ry-vue-mapV3.js +0 -53503
  63. package/dist/ry-vue-mapV3.umd.cjs +0 -78
@@ -0,0 +1,1334 @@
1
+ import { default as MapServices } from './../../utils/lMapServices';
2
+ import { default as BaseLayer } from 'ol/layer/Base';
3
+ import { MapEventHandler, AtPixelOptions } from 'ol/Map';
4
+ import { EventsKey, Listener } from 'ol/events';
5
+ import { default as __DTS_DEFAULT_0__ } from 'ol/control';
6
+ import { default as __DTS_DEFAULT_1__ } from 'ol/interaction';
7
+ import { default as __DTS_DEFAULT_2__, Collection, View, MapBrowserEvent } from 'ol';
8
+ import { Pixel } from 'ol/pixel';
9
+ import { FeatureLike } from 'ol/Feature';
10
+ import { default as __DTS_DEFAULT_3__, Group } from 'ol/layer';
11
+ import { default as __DTS_DEFAULT_4__ } from 'ol/source';
12
+ import { default as __DTS_DEFAULT_5__ } from 'ol/geom';
13
+ import { Coordinate } from 'ol/coordinate';
14
+ import { default as __DTS_DEFAULT_6__ } from 'ol/renderer/Map';
15
+ import { Size } from 'ol/size';
16
+ import { ViewOptions } from 'ol/View';
17
+ import { default as __DTS_DEFAULT_7__ } from 'ol/events/Event';
18
+ import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
19
+ import { OnCleanup } from '@vue/reactivity';
20
+ declare function __VLS_template(): {
21
+ attrs: Partial<{}>;
22
+ slots: {
23
+ polygon?(_: {
24
+ mapDto: {
25
+ map: {
26
+ on: MapEventHandler<EventsKey>;
27
+ once: MapEventHandler<EventsKey>;
28
+ un: MapEventHandler<void>;
29
+ viewport_: HTMLDivElement | undefined;
30
+ addControl: (control: __DTS_DEFAULT_0__) => void;
31
+ addInteraction: (interaction: __DTS_DEFAULT_1__) => void;
32
+ addLayer: (layer: BaseLayer) => void;
33
+ addOverlay: (overlay: __DTS_DEFAULT_2__) => void;
34
+ forEachFeatureAtPixel: <T>(pixel: Pixel, callback: (arg0: FeatureLike, arg1: __DTS_DEFAULT_3__<__DTS_DEFAULT_4__>, arg2: __DTS_DEFAULT_5__) => T, options?: AtPixelOptions) => T | undefined;
35
+ getFeaturesAtPixel: (pixel: Pixel, options?: AtPixelOptions) => Array< FeatureLike>;
36
+ getAllLayers: () => Array< __DTS_DEFAULT_3__>;
37
+ hasFeatureAtPixel: (pixel: Pixel, options?: AtPixelOptions) => boolean;
38
+ getEventCoordinate: (event: MouseEvent) => Coordinate;
39
+ getEventCoordinateInternal: (event: MouseEvent) => Coordinate;
40
+ getEventPixel: (event: UIEvent | {
41
+ clientX: number;
42
+ clientY: number;
43
+ }) => Pixel;
44
+ getTarget: () => HTMLElement | string | undefined;
45
+ getTargetElement: () => HTMLElement;
46
+ getCoordinateFromPixel: (pixel: Pixel) => Coordinate;
47
+ getCoordinateFromPixelInternal: (pixel: Pixel) => Coordinate;
48
+ getControls: () => Collection<__DTS_DEFAULT_0__>;
49
+ getOverlays: () => Collection<__DTS_DEFAULT_2__>;
50
+ getOverlayById: (id: string | number) => __DTS_DEFAULT_2__ | null;
51
+ getInteractions: () => Collection<__DTS_DEFAULT_1__>;
52
+ getLayerGroup: () => Group;
53
+ setLayers: (layers: Array< BaseLayer> | Collection<BaseLayer>) => void;
54
+ getLayers: () => Collection<BaseLayer>;
55
+ getLoadingOrNotReady: () => boolean;
56
+ getPixelFromCoordinate: (coordinate: Coordinate) => Pixel;
57
+ getPixelFromCoordinateInternal: (coordinate: Coordinate) => Pixel;
58
+ getPixelRatio: () => number;
59
+ setPixelRatio: (pixelRatio: number) => void;
60
+ getRenderer: () => __DTS_DEFAULT_6__ | null;
61
+ getSize: () => Size | undefined;
62
+ getView: () => View;
63
+ getViewport: () => HTMLElement;
64
+ getOverlayContainer: () => HTMLElement;
65
+ getOverlayContainerStopEvent: () => HTMLElement;
66
+ getOwnerDocument: () => Document;
67
+ getTilePriority: (tile: __DTS_DEFAULT_2__, tileSourceKey: string, tileCenter: Coordinate, tileResolution: number) => number;
68
+ handleBrowserEvent: (browserEvent: PointerEvent | KeyboardEvent | WheelEvent, type?: string) => void;
69
+ handleMapBrowserEvent: (mapBrowserEvent: MapBrowserEvent) => void;
70
+ isRendered: () => boolean;
71
+ renderSync: () => void;
72
+ redrawText: () => void;
73
+ render: () => void;
74
+ removeControl: (control: __DTS_DEFAULT_0__) => __DTS_DEFAULT_0__ | undefined;
75
+ removeInteraction: (interaction: __DTS_DEFAULT_1__) => __DTS_DEFAULT_1__ | undefined;
76
+ removeLayer: (layer: BaseLayer) => BaseLayer | undefined;
77
+ removeOverlay: (overlay: __DTS_DEFAULT_2__) => __DTS_DEFAULT_2__ | undefined;
78
+ setLayerGroup: (layerGroup: Group) => void;
79
+ setSize: (size: Size | undefined) => void;
80
+ setTarget: (target?: HTMLElement | string) => void;
81
+ setView: (view: View | Promise< ViewOptions> | null) => void;
82
+ updateSize: () => void;
83
+ get: (key: string) => any;
84
+ getKeys: () => Array<string>;
85
+ getProperties: () => NoInfer<{
86
+ [x: string]: any;
87
+ }>;
88
+ getPropertiesInternal: () => Partial<NoInfer<{
89
+ [x: string]: any;
90
+ }>> | null;
91
+ hasProperties: () => boolean;
92
+ notify: (key: string, oldValue: any) => void;
93
+ addChangeListener: (key: string, listener: Listener) => void;
94
+ removeChangeListener: (key: string, listener: Listener) => void;
95
+ set: (key: string, value: any, silent?: boolean) => void;
96
+ setProperties: (values: Partial<NoInfer<{
97
+ [x: string]: any;
98
+ }>>, silent?: boolean) => void;
99
+ unset: (key: string, silent?: boolean) => void;
100
+ changed: () => void;
101
+ getRevision: () => number;
102
+ addEventListener: (type: string, listener: Listener) => void;
103
+ dispatchEvent: (event: __DTS_DEFAULT_7__ | string) => boolean | undefined;
104
+ getListeners: (type: string) => Array< Listener> | undefined;
105
+ hasListener: (type?: string) => boolean;
106
+ removeEventListener: (type: string, listener: Listener) => void;
107
+ dispose: () => void;
108
+ };
109
+ lMap: Record<string, any> & MapServices;
110
+ };
111
+ }): any;
112
+ marker?(_: {
113
+ mapDto: {
114
+ map: {
115
+ on: MapEventHandler<EventsKey>;
116
+ once: MapEventHandler<EventsKey>;
117
+ un: MapEventHandler<void>;
118
+ viewport_: HTMLDivElement | undefined;
119
+ addControl: (control: __DTS_DEFAULT_0__) => void;
120
+ addInteraction: (interaction: __DTS_DEFAULT_1__) => void;
121
+ addLayer: (layer: BaseLayer) => void;
122
+ addOverlay: (overlay: __DTS_DEFAULT_2__) => void;
123
+ forEachFeatureAtPixel: <T>(pixel: Pixel, callback: (arg0: FeatureLike, arg1: __DTS_DEFAULT_3__<__DTS_DEFAULT_4__>, arg2: __DTS_DEFAULT_5__) => T, options?: AtPixelOptions) => T | undefined;
124
+ getFeaturesAtPixel: (pixel: Pixel, options?: AtPixelOptions) => Array< FeatureLike>;
125
+ getAllLayers: () => Array< __DTS_DEFAULT_3__>;
126
+ hasFeatureAtPixel: (pixel: Pixel, options?: AtPixelOptions) => boolean;
127
+ getEventCoordinate: (event: MouseEvent) => Coordinate;
128
+ getEventCoordinateInternal: (event: MouseEvent) => Coordinate;
129
+ getEventPixel: (event: UIEvent | {
130
+ clientX: number;
131
+ clientY: number;
132
+ }) => Pixel;
133
+ getTarget: () => HTMLElement | string | undefined;
134
+ getTargetElement: () => HTMLElement;
135
+ getCoordinateFromPixel: (pixel: Pixel) => Coordinate;
136
+ getCoordinateFromPixelInternal: (pixel: Pixel) => Coordinate;
137
+ getControls: () => Collection<__DTS_DEFAULT_0__>;
138
+ getOverlays: () => Collection<__DTS_DEFAULT_2__>;
139
+ getOverlayById: (id: string | number) => __DTS_DEFAULT_2__ | null;
140
+ getInteractions: () => Collection<__DTS_DEFAULT_1__>;
141
+ getLayerGroup: () => Group;
142
+ setLayers: (layers: Array< BaseLayer> | Collection<BaseLayer>) => void;
143
+ getLayers: () => Collection<BaseLayer>;
144
+ getLoadingOrNotReady: () => boolean;
145
+ getPixelFromCoordinate: (coordinate: Coordinate) => Pixel;
146
+ getPixelFromCoordinateInternal: (coordinate: Coordinate) => Pixel;
147
+ getPixelRatio: () => number;
148
+ setPixelRatio: (pixelRatio: number) => void;
149
+ getRenderer: () => __DTS_DEFAULT_6__ | null;
150
+ getSize: () => Size | undefined;
151
+ getView: () => View;
152
+ getViewport: () => HTMLElement;
153
+ getOverlayContainer: () => HTMLElement;
154
+ getOverlayContainerStopEvent: () => HTMLElement;
155
+ getOwnerDocument: () => Document;
156
+ getTilePriority: (tile: __DTS_DEFAULT_2__, tileSourceKey: string, tileCenter: Coordinate, tileResolution: number) => number;
157
+ handleBrowserEvent: (browserEvent: PointerEvent | KeyboardEvent | WheelEvent, type?: string) => void;
158
+ handleMapBrowserEvent: (mapBrowserEvent: MapBrowserEvent) => void;
159
+ isRendered: () => boolean;
160
+ renderSync: () => void;
161
+ redrawText: () => void;
162
+ render: () => void;
163
+ removeControl: (control: __DTS_DEFAULT_0__) => __DTS_DEFAULT_0__ | undefined;
164
+ removeInteraction: (interaction: __DTS_DEFAULT_1__) => __DTS_DEFAULT_1__ | undefined;
165
+ removeLayer: (layer: BaseLayer) => BaseLayer | undefined;
166
+ removeOverlay: (overlay: __DTS_DEFAULT_2__) => __DTS_DEFAULT_2__ | undefined;
167
+ setLayerGroup: (layerGroup: Group) => void;
168
+ setSize: (size: Size | undefined) => void;
169
+ setTarget: (target?: HTMLElement | string) => void;
170
+ setView: (view: View | Promise< ViewOptions> | null) => void;
171
+ updateSize: () => void;
172
+ get: (key: string) => any;
173
+ getKeys: () => Array<string>;
174
+ getProperties: () => NoInfer<{
175
+ [x: string]: any;
176
+ }>;
177
+ getPropertiesInternal: () => Partial<NoInfer<{
178
+ [x: string]: any;
179
+ }>> | null;
180
+ hasProperties: () => boolean;
181
+ notify: (key: string, oldValue: any) => void;
182
+ addChangeListener: (key: string, listener: Listener) => void;
183
+ removeChangeListener: (key: string, listener: Listener) => void;
184
+ set: (key: string, value: any, silent?: boolean) => void;
185
+ setProperties: (values: Partial<NoInfer<{
186
+ [x: string]: any;
187
+ }>>, silent?: boolean) => void;
188
+ unset: (key: string, silent?: boolean) => void;
189
+ changed: () => void;
190
+ getRevision: () => number;
191
+ addEventListener: (type: string, listener: Listener) => void;
192
+ dispatchEvent: (event: __DTS_DEFAULT_7__ | string) => boolean | undefined;
193
+ getListeners: (type: string) => Array< Listener> | undefined;
194
+ hasListener: (type?: string) => boolean;
195
+ removeEventListener: (type: string, listener: Listener) => void;
196
+ dispose: () => void;
197
+ };
198
+ lMap: Record<string, any> & MapServices;
199
+ };
200
+ }): any;
201
+ maptool?(_: {}): any;
202
+ };
203
+ refs: {
204
+ mapTool: ({
205
+ $: ComponentInternalInstance;
206
+ $data: {};
207
+ $props: Partial<{
208
+ isSwitchMapRight: boolean;
209
+ lMap: Record<string, any>;
210
+ isHideAreaAndKM: boolean;
211
+ switchMapPosTop: number;
212
+ switchMapPosLeftOrRight: number;
213
+ switchMapHeight: number;
214
+ isShowRangingTool: boolean;
215
+ isShowDrawTool: boolean;
216
+ isRight: boolean;
217
+ isCrossHair: boolean;
218
+ isCrossHairCreateDarw: boolean;
219
+ initModifyPolygon: string | Record<string, any>;
220
+ hideAdd: boolean;
221
+ hidePoint: boolean;
222
+ hideCancel: boolean;
223
+ hideDelete: boolean;
224
+ hideSave: boolean;
225
+ hideLine: boolean;
226
+ hideArea: boolean;
227
+ isSwitchMap: boolean;
228
+ gpsType: number;
229
+ drawZIndex: number;
230
+ }> & Omit<{
231
+ readonly isSwitchMapRight: boolean;
232
+ readonly lMap: Record<string, any>;
233
+ readonly isHideAreaAndKM: boolean;
234
+ readonly switchMapPosTop: number;
235
+ readonly switchMapPosLeftOrRight: number;
236
+ readonly switchMapHeight: number;
237
+ readonly isShowRangingTool: boolean;
238
+ readonly isShowDrawTool: boolean;
239
+ readonly isRight: boolean;
240
+ readonly isCrossHair: boolean;
241
+ readonly isCrossHairCreateDarw: boolean;
242
+ readonly initModifyPolygon: string | Record<string, any>;
243
+ readonly hideAdd: boolean;
244
+ readonly hidePoint: boolean;
245
+ readonly hideCancel: boolean;
246
+ readonly hideDelete: boolean;
247
+ readonly hideSave: boolean;
248
+ readonly hideLine: boolean;
249
+ readonly hideArea: boolean;
250
+ readonly isSwitchMap: boolean;
251
+ readonly gpsType: number;
252
+ readonly drawZIndex: number;
253
+ readonly onLoadDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
254
+ readonly onCrossHairClick?: ((...args: any[]) => any) | undefined;
255
+ readonly onError?: ((...args: any[]) => any) | undefined;
256
+ readonly onSuccess?: ((...args: any[]) => any) | undefined;
257
+ readonly onDrawLineEvent?: ((...args: any[]) => any) | undefined;
258
+ readonly onDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
259
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "isSwitchMapRight" | "lMap" | "isHideAreaAndKM" | "switchMapPosTop" | "switchMapPosLeftOrRight" | "switchMapHeight" | "isShowRangingTool" | "isShowDrawTool" | "isRight" | "isCrossHair" | "isCrossHairCreateDarw" | "initModifyPolygon" | "hideAdd" | "hidePoint" | "hideCancel" | "hideDelete" | "hideSave" | "hideLine" | "hideArea" | "isSwitchMap" | "gpsType" | "drawZIndex">;
260
+ $attrs: Attrs;
261
+ $refs: {
262
+ [x: string]: unknown;
263
+ };
264
+ $slots: Readonly<{
265
+ [name: string]: Slot<any> | undefined;
266
+ }>;
267
+ $root: ComponentPublicInstance | null;
268
+ $parent: ComponentPublicInstance | null;
269
+ $host: Element | null;
270
+ $emit: ((event: "loadDrawPolygonEvent", ...args: any[]) => void) & ((event: "crossHairClick", ...args: any[]) => void) & ((event: "error", ...args: any[]) => void) & ((event: "success", ...args: any[]) => void) & ((event: "drawLineEvent", ...args: any[]) => void) & ((event: "drawPolygonEvent", ...args: any[]) => void);
271
+ $el: HTMLDivElement;
272
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
273
+ lMap: {
274
+ type: ObjectConstructor;
275
+ default: () => null;
276
+ };
277
+ isHideAreaAndKM: {
278
+ type: BooleanConstructor;
279
+ default: boolean;
280
+ };
281
+ switchMapPosTop: {
282
+ type: NumberConstructor;
283
+ default: number;
284
+ };
285
+ switchMapPosLeftOrRight: {
286
+ type: NumberConstructor;
287
+ default: number;
288
+ };
289
+ isSwitchMapRight: {
290
+ type: BooleanConstructor;
291
+ default: boolean;
292
+ };
293
+ switchMapHeight: {
294
+ type: NumberConstructor;
295
+ default: number;
296
+ };
297
+ isShowRangingTool: {
298
+ type: BooleanConstructor;
299
+ default: boolean;
300
+ };
301
+ isShowDrawTool: {
302
+ type: BooleanConstructor;
303
+ default: boolean;
304
+ };
305
+ isRight: {
306
+ type: BooleanConstructor;
307
+ default: boolean;
308
+ };
309
+ isCrossHair: {
310
+ type: BooleanConstructor;
311
+ default: boolean;
312
+ };
313
+ isCrossHairCreateDarw: {
314
+ type: BooleanConstructor;
315
+ default: boolean;
316
+ };
317
+ initModifyPolygon: {
318
+ type: (ObjectConstructor | StringConstructor)[];
319
+ default: () => null;
320
+ };
321
+ hideAdd: {
322
+ type: BooleanConstructor;
323
+ default: boolean;
324
+ };
325
+ hidePoint: {
326
+ type: BooleanConstructor;
327
+ default: boolean;
328
+ };
329
+ hideCancel: {
330
+ type: BooleanConstructor;
331
+ default: boolean;
332
+ };
333
+ hideDelete: {
334
+ type: BooleanConstructor;
335
+ default: boolean;
336
+ };
337
+ hideSave: {
338
+ type: BooleanConstructor;
339
+ default: boolean;
340
+ };
341
+ hideLine: {
342
+ type: BooleanConstructor;
343
+ default: boolean;
344
+ };
345
+ hideArea: {
346
+ type: BooleanConstructor;
347
+ default: boolean;
348
+ };
349
+ isSwitchMap: {
350
+ type: BooleanConstructor;
351
+ default: boolean;
352
+ };
353
+ gpsType: {
354
+ type: NumberConstructor;
355
+ default: number;
356
+ };
357
+ drawZIndex: {
358
+ type: NumberConstructor;
359
+ default: number;
360
+ };
361
+ }>> & Readonly<{
362
+ onLoadDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
363
+ onCrossHairClick?: ((...args: any[]) => any) | undefined;
364
+ onError?: ((...args: any[]) => any) | undefined;
365
+ onSuccess?: ((...args: any[]) => any) | undefined;
366
+ onDrawLineEvent?: ((...args: any[]) => any) | undefined;
367
+ onDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
368
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
369
+ loadDrawPolygonEvent: (...args: any[]) => void;
370
+ crossHairClick: (...args: any[]) => void;
371
+ error: (...args: any[]) => void;
372
+ success: (...args: any[]) => void;
373
+ drawLineEvent: (...args: any[]) => void;
374
+ drawPolygonEvent: (...args: any[]) => void;
375
+ }, string, {
376
+ isSwitchMapRight: boolean;
377
+ lMap: Record<string, any>;
378
+ isHideAreaAndKM: boolean;
379
+ switchMapPosTop: number;
380
+ switchMapPosLeftOrRight: number;
381
+ switchMapHeight: number;
382
+ isShowRangingTool: boolean;
383
+ isShowDrawTool: boolean;
384
+ isRight: boolean;
385
+ isCrossHair: boolean;
386
+ isCrossHairCreateDarw: boolean;
387
+ initModifyPolygon: string | Record<string, any>;
388
+ hideAdd: boolean;
389
+ hidePoint: boolean;
390
+ hideCancel: boolean;
391
+ hideDelete: boolean;
392
+ hideSave: boolean;
393
+ hideLine: boolean;
394
+ hideArea: boolean;
395
+ isSwitchMap: boolean;
396
+ gpsType: number;
397
+ drawZIndex: number;
398
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
399
+ beforeCreate?: (() => void) | (() => void)[];
400
+ created?: (() => void) | (() => void)[];
401
+ beforeMount?: (() => void) | (() => void)[];
402
+ mounted?: (() => void) | (() => void)[];
403
+ beforeUpdate?: (() => void) | (() => void)[];
404
+ updated?: (() => void) | (() => void)[];
405
+ activated?: (() => void) | (() => void)[];
406
+ deactivated?: (() => void) | (() => void)[];
407
+ beforeDestroy?: (() => void) | (() => void)[];
408
+ beforeUnmount?: (() => void) | (() => void)[];
409
+ destroyed?: (() => void) | (() => void)[];
410
+ unmounted?: (() => void) | (() => void)[];
411
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
412
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
413
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
414
+ };
415
+ $forceUpdate: () => void;
416
+ $nextTick: nextTick;
417
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
418
+ } & Readonly<{
419
+ isSwitchMapRight: boolean;
420
+ lMap: Record<string, any>;
421
+ isHideAreaAndKM: boolean;
422
+ switchMapPosTop: number;
423
+ switchMapPosLeftOrRight: number;
424
+ switchMapHeight: number;
425
+ isShowRangingTool: boolean;
426
+ isShowDrawTool: boolean;
427
+ isRight: boolean;
428
+ isCrossHair: boolean;
429
+ isCrossHairCreateDarw: boolean;
430
+ initModifyPolygon: string | Record<string, any>;
431
+ hideAdd: boolean;
432
+ hidePoint: boolean;
433
+ hideCancel: boolean;
434
+ hideDelete: boolean;
435
+ hideSave: boolean;
436
+ hideLine: boolean;
437
+ hideArea: boolean;
438
+ isSwitchMap: boolean;
439
+ gpsType: number;
440
+ drawZIndex: number;
441
+ }> & Omit<Readonly< ExtractPropTypes<{
442
+ lMap: {
443
+ type: ObjectConstructor;
444
+ default: () => null;
445
+ };
446
+ isHideAreaAndKM: {
447
+ type: BooleanConstructor;
448
+ default: boolean;
449
+ };
450
+ switchMapPosTop: {
451
+ type: NumberConstructor;
452
+ default: number;
453
+ };
454
+ switchMapPosLeftOrRight: {
455
+ type: NumberConstructor;
456
+ default: number;
457
+ };
458
+ isSwitchMapRight: {
459
+ type: BooleanConstructor;
460
+ default: boolean;
461
+ };
462
+ switchMapHeight: {
463
+ type: NumberConstructor;
464
+ default: number;
465
+ };
466
+ isShowRangingTool: {
467
+ type: BooleanConstructor;
468
+ default: boolean;
469
+ };
470
+ isShowDrawTool: {
471
+ type: BooleanConstructor;
472
+ default: boolean;
473
+ };
474
+ isRight: {
475
+ type: BooleanConstructor;
476
+ default: boolean;
477
+ };
478
+ isCrossHair: {
479
+ type: BooleanConstructor;
480
+ default: boolean;
481
+ };
482
+ isCrossHairCreateDarw: {
483
+ type: BooleanConstructor;
484
+ default: boolean;
485
+ };
486
+ initModifyPolygon: {
487
+ type: (ObjectConstructor | StringConstructor)[];
488
+ default: () => null;
489
+ };
490
+ hideAdd: {
491
+ type: BooleanConstructor;
492
+ default: boolean;
493
+ };
494
+ hidePoint: {
495
+ type: BooleanConstructor;
496
+ default: boolean;
497
+ };
498
+ hideCancel: {
499
+ type: BooleanConstructor;
500
+ default: boolean;
501
+ };
502
+ hideDelete: {
503
+ type: BooleanConstructor;
504
+ default: boolean;
505
+ };
506
+ hideSave: {
507
+ type: BooleanConstructor;
508
+ default: boolean;
509
+ };
510
+ hideLine: {
511
+ type: BooleanConstructor;
512
+ default: boolean;
513
+ };
514
+ hideArea: {
515
+ type: BooleanConstructor;
516
+ default: boolean;
517
+ };
518
+ isSwitchMap: {
519
+ type: BooleanConstructor;
520
+ default: boolean;
521
+ };
522
+ gpsType: {
523
+ type: NumberConstructor;
524
+ default: number;
525
+ };
526
+ drawZIndex: {
527
+ type: NumberConstructor;
528
+ default: number;
529
+ };
530
+ }>> & Readonly<{
531
+ onLoadDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
532
+ onCrossHairClick?: ((...args: any[]) => any) | undefined;
533
+ onError?: ((...args: any[]) => any) | undefined;
534
+ onSuccess?: ((...args: any[]) => any) | undefined;
535
+ onDrawLineEvent?: ((...args: any[]) => any) | undefined;
536
+ onDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
537
+ }>, "isSwitchMapRight" | "lMap" | "isHideAreaAndKM" | "switchMapPosTop" | "switchMapPosLeftOrRight" | "switchMapHeight" | "isShowRangingTool" | "isShowDrawTool" | "isRight" | "isCrossHair" | "isCrossHairCreateDarw" | "initModifyPolygon" | "hideAdd" | "hidePoint" | "hideCancel" | "hideDelete" | "hideSave" | "hideLine" | "hideArea" | "isSwitchMap" | "gpsType" | "drawZIndex"> & {} & ComponentCustomProperties & {} & {
538
+ $slots: {
539
+ default?(_: {}): any;
540
+ default?(_: {}): any;
541
+ default?(_: {}): any;
542
+ default?(_: {}): any;
543
+ };
544
+ }) | null;
545
+ };
546
+ rootEl: HTMLDivElement;
547
+ };
548
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
549
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
550
+ lMap: {
551
+ type: ObjectConstructor;
552
+ default: () => null;
553
+ };
554
+ isHideAreaAndKM: {
555
+ type: BooleanConstructor;
556
+ default: boolean;
557
+ };
558
+ switchMapPosTop: {
559
+ type: NumberConstructor;
560
+ default: number;
561
+ };
562
+ switchMapPosLeftOrRight: {
563
+ type: NumberConstructor;
564
+ default: number;
565
+ };
566
+ isSwitchMapRight: {
567
+ type: BooleanConstructor;
568
+ default: boolean;
569
+ };
570
+ switchMapHeight: {
571
+ type: NumberConstructor;
572
+ default: number;
573
+ };
574
+ isShowRangingTool: {
575
+ type: BooleanConstructor;
576
+ default: boolean;
577
+ };
578
+ isShowDrawTool: {
579
+ type: BooleanConstructor;
580
+ default: boolean;
581
+ };
582
+ isRight: {
583
+ type: BooleanConstructor;
584
+ default: boolean;
585
+ };
586
+ isCrossHair: {
587
+ type: BooleanConstructor;
588
+ default: boolean;
589
+ };
590
+ isCrossHairCreateDarw: {
591
+ type: BooleanConstructor;
592
+ default: boolean;
593
+ };
594
+ initModifyPolygon: {
595
+ type: (ObjectConstructor | StringConstructor)[];
596
+ default: () => null;
597
+ };
598
+ hideAdd: {
599
+ type: BooleanConstructor;
600
+ default: boolean;
601
+ };
602
+ hidePoint: {
603
+ type: BooleanConstructor;
604
+ default: boolean;
605
+ };
606
+ hideCancel: {
607
+ type: BooleanConstructor;
608
+ default: boolean;
609
+ };
610
+ hideDelete: {
611
+ type: BooleanConstructor;
612
+ default: boolean;
613
+ };
614
+ hideSave: {
615
+ type: BooleanConstructor;
616
+ default: boolean;
617
+ };
618
+ hideLine: {
619
+ type: BooleanConstructor;
620
+ default: boolean;
621
+ };
622
+ hideArea: {
623
+ type: BooleanConstructor;
624
+ default: boolean;
625
+ };
626
+ isSwitchMap: {
627
+ type: BooleanConstructor;
628
+ default: boolean;
629
+ };
630
+ gpsType: {
631
+ type: NumberConstructor;
632
+ default: number;
633
+ };
634
+ drawZIndex: {
635
+ type: NumberConstructor;
636
+ default: number;
637
+ };
638
+ zoom: {
639
+ type: NumberConstructor;
640
+ default: number;
641
+ };
642
+ maxZoom: {
643
+ type: NumberConstructor;
644
+ default: number;
645
+ };
646
+ minZoom: {
647
+ type: NumberConstructor;
648
+ default: number;
649
+ };
650
+ center: {
651
+ type: ArrayConstructor;
652
+ default: () => number[];
653
+ };
654
+ projection: {
655
+ type: StringConstructor;
656
+ default: string;
657
+ };
658
+ bbox: {
659
+ type: ArrayConstructor;
660
+ default: () => never[];
661
+ };
662
+ mapType: {
663
+ type: NumberConstructor;
664
+ default: number;
665
+ };
666
+ layerType: {
667
+ type: NumberConstructor;
668
+ default: number;
669
+ };
670
+ isSwitchMapTool: {
671
+ type: BooleanConstructor;
672
+ default: boolean;
673
+ };
674
+ isRyMapTool: {
675
+ type: BooleanConstructor;
676
+ default: boolean;
677
+ };
678
+ bindMapClick: {
679
+ type: BooleanConstructor;
680
+ default: boolean;
681
+ };
682
+ bindContextmenu: {
683
+ type: BooleanConstructor;
684
+ default: boolean;
685
+ };
686
+ binddblClick: {
687
+ type: BooleanConstructor;
688
+ default: boolean;
689
+ };
690
+ bindMapMoveend: {
691
+ type: BooleanConstructor;
692
+ default: boolean;
693
+ };
694
+ isDisabledSwitchMapTabEvent: {
695
+ type: BooleanConstructor;
696
+ default: boolean;
697
+ };
698
+ m: {
699
+ type: NumberConstructor;
700
+ default: () => number;
701
+ };
702
+ switchMapDefaultTypeOrLayer: {
703
+ type: ArrayConstructor;
704
+ default: () => null;
705
+ };
706
+ mapTypeAndLayer: {
707
+ type: ArrayConstructor;
708
+ default: () => {
709
+ id: number;
710
+ icon: string;
711
+ activeIcon: string;
712
+ name: string;
713
+ layer: {
714
+ id: number;
715
+ name: string;
716
+ }[];
717
+ }[];
718
+ };
719
+ isShowSwitchMap: {
720
+ type: BooleanConstructor;
721
+ default: boolean;
722
+ };
723
+ resolution: {
724
+ type: BooleanConstructor;
725
+ default: boolean;
726
+ };
727
+ zoomedIn: {
728
+ type: NumberConstructor;
729
+ default: number;
730
+ };
731
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
732
+ changeSwitchMap: (...args: any[]) => void;
733
+ loadDrawPolygonEvent: (...args: any[]) => void;
734
+ crossHairClick: (...args: any[]) => void;
735
+ drawLineEvent: (...args: any[]) => void;
736
+ drawPolygonEvent: (...args: any[]) => void;
737
+ mapClick2: (...args: any[]) => void;
738
+ mapClick: (...args: any[]) => void;
739
+ dblclick: (...args: any[]) => void;
740
+ mapMoveend: (...args: any[]) => void;
741
+ contextmenuClick: (...args: any[]) => void;
742
+ load: (...args: any[]) => void;
743
+ drawSuccess: (...args: any[]) => void;
744
+ drawError: (...args: any[]) => void;
745
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
746
+ lMap: {
747
+ type: ObjectConstructor;
748
+ default: () => null;
749
+ };
750
+ isHideAreaAndKM: {
751
+ type: BooleanConstructor;
752
+ default: boolean;
753
+ };
754
+ switchMapPosTop: {
755
+ type: NumberConstructor;
756
+ default: number;
757
+ };
758
+ switchMapPosLeftOrRight: {
759
+ type: NumberConstructor;
760
+ default: number;
761
+ };
762
+ isSwitchMapRight: {
763
+ type: BooleanConstructor;
764
+ default: boolean;
765
+ };
766
+ switchMapHeight: {
767
+ type: NumberConstructor;
768
+ default: number;
769
+ };
770
+ isShowRangingTool: {
771
+ type: BooleanConstructor;
772
+ default: boolean;
773
+ };
774
+ isShowDrawTool: {
775
+ type: BooleanConstructor;
776
+ default: boolean;
777
+ };
778
+ isRight: {
779
+ type: BooleanConstructor;
780
+ default: boolean;
781
+ };
782
+ isCrossHair: {
783
+ type: BooleanConstructor;
784
+ default: boolean;
785
+ };
786
+ isCrossHairCreateDarw: {
787
+ type: BooleanConstructor;
788
+ default: boolean;
789
+ };
790
+ initModifyPolygon: {
791
+ type: (ObjectConstructor | StringConstructor)[];
792
+ default: () => null;
793
+ };
794
+ hideAdd: {
795
+ type: BooleanConstructor;
796
+ default: boolean;
797
+ };
798
+ hidePoint: {
799
+ type: BooleanConstructor;
800
+ default: boolean;
801
+ };
802
+ hideCancel: {
803
+ type: BooleanConstructor;
804
+ default: boolean;
805
+ };
806
+ hideDelete: {
807
+ type: BooleanConstructor;
808
+ default: boolean;
809
+ };
810
+ hideSave: {
811
+ type: BooleanConstructor;
812
+ default: boolean;
813
+ };
814
+ hideLine: {
815
+ type: BooleanConstructor;
816
+ default: boolean;
817
+ };
818
+ hideArea: {
819
+ type: BooleanConstructor;
820
+ default: boolean;
821
+ };
822
+ isSwitchMap: {
823
+ type: BooleanConstructor;
824
+ default: boolean;
825
+ };
826
+ gpsType: {
827
+ type: NumberConstructor;
828
+ default: number;
829
+ };
830
+ drawZIndex: {
831
+ type: NumberConstructor;
832
+ default: number;
833
+ };
834
+ zoom: {
835
+ type: NumberConstructor;
836
+ default: number;
837
+ };
838
+ maxZoom: {
839
+ type: NumberConstructor;
840
+ default: number;
841
+ };
842
+ minZoom: {
843
+ type: NumberConstructor;
844
+ default: number;
845
+ };
846
+ center: {
847
+ type: ArrayConstructor;
848
+ default: () => number[];
849
+ };
850
+ projection: {
851
+ type: StringConstructor;
852
+ default: string;
853
+ };
854
+ bbox: {
855
+ type: ArrayConstructor;
856
+ default: () => never[];
857
+ };
858
+ mapType: {
859
+ type: NumberConstructor;
860
+ default: number;
861
+ };
862
+ layerType: {
863
+ type: NumberConstructor;
864
+ default: number;
865
+ };
866
+ isSwitchMapTool: {
867
+ type: BooleanConstructor;
868
+ default: boolean;
869
+ };
870
+ isRyMapTool: {
871
+ type: BooleanConstructor;
872
+ default: boolean;
873
+ };
874
+ bindMapClick: {
875
+ type: BooleanConstructor;
876
+ default: boolean;
877
+ };
878
+ bindContextmenu: {
879
+ type: BooleanConstructor;
880
+ default: boolean;
881
+ };
882
+ binddblClick: {
883
+ type: BooleanConstructor;
884
+ default: boolean;
885
+ };
886
+ bindMapMoveend: {
887
+ type: BooleanConstructor;
888
+ default: boolean;
889
+ };
890
+ isDisabledSwitchMapTabEvent: {
891
+ type: BooleanConstructor;
892
+ default: boolean;
893
+ };
894
+ m: {
895
+ type: NumberConstructor;
896
+ default: () => number;
897
+ };
898
+ switchMapDefaultTypeOrLayer: {
899
+ type: ArrayConstructor;
900
+ default: () => null;
901
+ };
902
+ mapTypeAndLayer: {
903
+ type: ArrayConstructor;
904
+ default: () => {
905
+ id: number;
906
+ icon: string;
907
+ activeIcon: string;
908
+ name: string;
909
+ layer: {
910
+ id: number;
911
+ name: string;
912
+ }[];
913
+ }[];
914
+ };
915
+ isShowSwitchMap: {
916
+ type: BooleanConstructor;
917
+ default: boolean;
918
+ };
919
+ resolution: {
920
+ type: BooleanConstructor;
921
+ default: boolean;
922
+ };
923
+ zoomedIn: {
924
+ type: NumberConstructor;
925
+ default: number;
926
+ };
927
+ }>> & Readonly<{
928
+ onChangeSwitchMap?: ((...args: any[]) => any) | undefined;
929
+ onLoadDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
930
+ onCrossHairClick?: ((...args: any[]) => any) | undefined;
931
+ onDrawLineEvent?: ((...args: any[]) => any) | undefined;
932
+ onDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
933
+ onMapClick2?: ((...args: any[]) => any) | undefined;
934
+ onMapClick?: ((...args: any[]) => any) | undefined;
935
+ onDblclick?: ((...args: any[]) => any) | undefined;
936
+ onMapMoveend?: ((...args: any[]) => any) | undefined;
937
+ onContextmenuClick?: ((...args: any[]) => any) | undefined;
938
+ onLoad?: ((...args: any[]) => any) | undefined;
939
+ onDrawSuccess?: ((...args: any[]) => any) | undefined;
940
+ onDrawError?: ((...args: any[]) => any) | undefined;
941
+ }>, {
942
+ switchMapDefaultTypeOrLayer: unknown[];
943
+ isSwitchMapRight: boolean;
944
+ mapTypeAndLayer: unknown[];
945
+ bbox: unknown[];
946
+ lMap: Record<string, any>;
947
+ isHideAreaAndKM: boolean;
948
+ switchMapPosTop: number;
949
+ switchMapPosLeftOrRight: number;
950
+ switchMapHeight: number;
951
+ isShowRangingTool: boolean;
952
+ isShowDrawTool: boolean;
953
+ isRight: boolean;
954
+ isCrossHair: boolean;
955
+ isCrossHairCreateDarw: boolean;
956
+ initModifyPolygon: string | Record<string, any>;
957
+ hideAdd: boolean;
958
+ hidePoint: boolean;
959
+ hideCancel: boolean;
960
+ hideDelete: boolean;
961
+ hideSave: boolean;
962
+ hideLine: boolean;
963
+ hideArea: boolean;
964
+ isSwitchMap: boolean;
965
+ gpsType: number;
966
+ drawZIndex: number;
967
+ mapType: number;
968
+ layerType: number;
969
+ zoom: number;
970
+ maxZoom: number;
971
+ minZoom: number;
972
+ center: unknown[];
973
+ projection: string;
974
+ isSwitchMapTool: boolean;
975
+ isRyMapTool: boolean;
976
+ bindMapClick: boolean;
977
+ bindContextmenu: boolean;
978
+ binddblClick: boolean;
979
+ bindMapMoveend: boolean;
980
+ isDisabledSwitchMapTabEvent: boolean;
981
+ m: number;
982
+ isShowSwitchMap: boolean;
983
+ resolution: boolean;
984
+ zoomedIn: number;
985
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
986
+ mapTool: ({
987
+ $: ComponentInternalInstance;
988
+ $data: {};
989
+ $props: Partial<{
990
+ isSwitchMapRight: boolean;
991
+ lMap: Record<string, any>;
992
+ isHideAreaAndKM: boolean;
993
+ switchMapPosTop: number;
994
+ switchMapPosLeftOrRight: number;
995
+ switchMapHeight: number;
996
+ isShowRangingTool: boolean;
997
+ isShowDrawTool: boolean;
998
+ isRight: boolean;
999
+ isCrossHair: boolean;
1000
+ isCrossHairCreateDarw: boolean;
1001
+ initModifyPolygon: string | Record<string, any>;
1002
+ hideAdd: boolean;
1003
+ hidePoint: boolean;
1004
+ hideCancel: boolean;
1005
+ hideDelete: boolean;
1006
+ hideSave: boolean;
1007
+ hideLine: boolean;
1008
+ hideArea: boolean;
1009
+ isSwitchMap: boolean;
1010
+ gpsType: number;
1011
+ drawZIndex: number;
1012
+ }> & Omit<{
1013
+ readonly isSwitchMapRight: boolean;
1014
+ readonly lMap: Record<string, any>;
1015
+ readonly isHideAreaAndKM: boolean;
1016
+ readonly switchMapPosTop: number;
1017
+ readonly switchMapPosLeftOrRight: number;
1018
+ readonly switchMapHeight: number;
1019
+ readonly isShowRangingTool: boolean;
1020
+ readonly isShowDrawTool: boolean;
1021
+ readonly isRight: boolean;
1022
+ readonly isCrossHair: boolean;
1023
+ readonly isCrossHairCreateDarw: boolean;
1024
+ readonly initModifyPolygon: string | Record<string, any>;
1025
+ readonly hideAdd: boolean;
1026
+ readonly hidePoint: boolean;
1027
+ readonly hideCancel: boolean;
1028
+ readonly hideDelete: boolean;
1029
+ readonly hideSave: boolean;
1030
+ readonly hideLine: boolean;
1031
+ readonly hideArea: boolean;
1032
+ readonly isSwitchMap: boolean;
1033
+ readonly gpsType: number;
1034
+ readonly drawZIndex: number;
1035
+ readonly onLoadDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
1036
+ readonly onCrossHairClick?: ((...args: any[]) => any) | undefined;
1037
+ readonly onError?: ((...args: any[]) => any) | undefined;
1038
+ readonly onSuccess?: ((...args: any[]) => any) | undefined;
1039
+ readonly onDrawLineEvent?: ((...args: any[]) => any) | undefined;
1040
+ readonly onDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
1041
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "isSwitchMapRight" | "lMap" | "isHideAreaAndKM" | "switchMapPosTop" | "switchMapPosLeftOrRight" | "switchMapHeight" | "isShowRangingTool" | "isShowDrawTool" | "isRight" | "isCrossHair" | "isCrossHairCreateDarw" | "initModifyPolygon" | "hideAdd" | "hidePoint" | "hideCancel" | "hideDelete" | "hideSave" | "hideLine" | "hideArea" | "isSwitchMap" | "gpsType" | "drawZIndex">;
1042
+ $attrs: Attrs;
1043
+ $refs: {
1044
+ [x: string]: unknown;
1045
+ };
1046
+ $slots: Readonly<{
1047
+ [name: string]: Slot<any> | undefined;
1048
+ }>;
1049
+ $root: ComponentPublicInstance | null;
1050
+ $parent: ComponentPublicInstance | null;
1051
+ $host: Element | null;
1052
+ $emit: ((event: "loadDrawPolygonEvent", ...args: any[]) => void) & ((event: "crossHairClick", ...args: any[]) => void) & ((event: "error", ...args: any[]) => void) & ((event: "success", ...args: any[]) => void) & ((event: "drawLineEvent", ...args: any[]) => void) & ((event: "drawPolygonEvent", ...args: any[]) => void);
1053
+ $el: HTMLDivElement;
1054
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1055
+ lMap: {
1056
+ type: ObjectConstructor;
1057
+ default: () => null;
1058
+ };
1059
+ isHideAreaAndKM: {
1060
+ type: BooleanConstructor;
1061
+ default: boolean;
1062
+ };
1063
+ switchMapPosTop: {
1064
+ type: NumberConstructor;
1065
+ default: number;
1066
+ };
1067
+ switchMapPosLeftOrRight: {
1068
+ type: NumberConstructor;
1069
+ default: number;
1070
+ };
1071
+ isSwitchMapRight: {
1072
+ type: BooleanConstructor;
1073
+ default: boolean;
1074
+ };
1075
+ switchMapHeight: {
1076
+ type: NumberConstructor;
1077
+ default: number;
1078
+ };
1079
+ isShowRangingTool: {
1080
+ type: BooleanConstructor;
1081
+ default: boolean;
1082
+ };
1083
+ isShowDrawTool: {
1084
+ type: BooleanConstructor;
1085
+ default: boolean;
1086
+ };
1087
+ isRight: {
1088
+ type: BooleanConstructor;
1089
+ default: boolean;
1090
+ };
1091
+ isCrossHair: {
1092
+ type: BooleanConstructor;
1093
+ default: boolean;
1094
+ };
1095
+ isCrossHairCreateDarw: {
1096
+ type: BooleanConstructor;
1097
+ default: boolean;
1098
+ };
1099
+ initModifyPolygon: {
1100
+ type: (ObjectConstructor | StringConstructor)[];
1101
+ default: () => null;
1102
+ };
1103
+ hideAdd: {
1104
+ type: BooleanConstructor;
1105
+ default: boolean;
1106
+ };
1107
+ hidePoint: {
1108
+ type: BooleanConstructor;
1109
+ default: boolean;
1110
+ };
1111
+ hideCancel: {
1112
+ type: BooleanConstructor;
1113
+ default: boolean;
1114
+ };
1115
+ hideDelete: {
1116
+ type: BooleanConstructor;
1117
+ default: boolean;
1118
+ };
1119
+ hideSave: {
1120
+ type: BooleanConstructor;
1121
+ default: boolean;
1122
+ };
1123
+ hideLine: {
1124
+ type: BooleanConstructor;
1125
+ default: boolean;
1126
+ };
1127
+ hideArea: {
1128
+ type: BooleanConstructor;
1129
+ default: boolean;
1130
+ };
1131
+ isSwitchMap: {
1132
+ type: BooleanConstructor;
1133
+ default: boolean;
1134
+ };
1135
+ gpsType: {
1136
+ type: NumberConstructor;
1137
+ default: number;
1138
+ };
1139
+ drawZIndex: {
1140
+ type: NumberConstructor;
1141
+ default: number;
1142
+ };
1143
+ }>> & Readonly<{
1144
+ onLoadDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
1145
+ onCrossHairClick?: ((...args: any[]) => any) | undefined;
1146
+ onError?: ((...args: any[]) => any) | undefined;
1147
+ onSuccess?: ((...args: any[]) => any) | undefined;
1148
+ onDrawLineEvent?: ((...args: any[]) => any) | undefined;
1149
+ onDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
1150
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1151
+ loadDrawPolygonEvent: (...args: any[]) => void;
1152
+ crossHairClick: (...args: any[]) => void;
1153
+ error: (...args: any[]) => void;
1154
+ success: (...args: any[]) => void;
1155
+ drawLineEvent: (...args: any[]) => void;
1156
+ drawPolygonEvent: (...args: any[]) => void;
1157
+ }, string, {
1158
+ isSwitchMapRight: boolean;
1159
+ lMap: Record<string, any>;
1160
+ isHideAreaAndKM: boolean;
1161
+ switchMapPosTop: number;
1162
+ switchMapPosLeftOrRight: number;
1163
+ switchMapHeight: number;
1164
+ isShowRangingTool: boolean;
1165
+ isShowDrawTool: boolean;
1166
+ isRight: boolean;
1167
+ isCrossHair: boolean;
1168
+ isCrossHairCreateDarw: boolean;
1169
+ initModifyPolygon: string | Record<string, any>;
1170
+ hideAdd: boolean;
1171
+ hidePoint: boolean;
1172
+ hideCancel: boolean;
1173
+ hideDelete: boolean;
1174
+ hideSave: boolean;
1175
+ hideLine: boolean;
1176
+ hideArea: boolean;
1177
+ isSwitchMap: boolean;
1178
+ gpsType: number;
1179
+ drawZIndex: number;
1180
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1181
+ beforeCreate?: (() => void) | (() => void)[];
1182
+ created?: (() => void) | (() => void)[];
1183
+ beforeMount?: (() => void) | (() => void)[];
1184
+ mounted?: (() => void) | (() => void)[];
1185
+ beforeUpdate?: (() => void) | (() => void)[];
1186
+ updated?: (() => void) | (() => void)[];
1187
+ activated?: (() => void) | (() => void)[];
1188
+ deactivated?: (() => void) | (() => void)[];
1189
+ beforeDestroy?: (() => void) | (() => void)[];
1190
+ beforeUnmount?: (() => void) | (() => void)[];
1191
+ destroyed?: (() => void) | (() => void)[];
1192
+ unmounted?: (() => void) | (() => void)[];
1193
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1194
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1195
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1196
+ };
1197
+ $forceUpdate: () => void;
1198
+ $nextTick: nextTick;
1199
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1200
+ } & Readonly<{
1201
+ isSwitchMapRight: boolean;
1202
+ lMap: Record<string, any>;
1203
+ isHideAreaAndKM: boolean;
1204
+ switchMapPosTop: number;
1205
+ switchMapPosLeftOrRight: number;
1206
+ switchMapHeight: number;
1207
+ isShowRangingTool: boolean;
1208
+ isShowDrawTool: boolean;
1209
+ isRight: boolean;
1210
+ isCrossHair: boolean;
1211
+ isCrossHairCreateDarw: boolean;
1212
+ initModifyPolygon: string | Record<string, any>;
1213
+ hideAdd: boolean;
1214
+ hidePoint: boolean;
1215
+ hideCancel: boolean;
1216
+ hideDelete: boolean;
1217
+ hideSave: boolean;
1218
+ hideLine: boolean;
1219
+ hideArea: boolean;
1220
+ isSwitchMap: boolean;
1221
+ gpsType: number;
1222
+ drawZIndex: number;
1223
+ }> & Omit<Readonly< ExtractPropTypes<{
1224
+ lMap: {
1225
+ type: ObjectConstructor;
1226
+ default: () => null;
1227
+ };
1228
+ isHideAreaAndKM: {
1229
+ type: BooleanConstructor;
1230
+ default: boolean;
1231
+ };
1232
+ switchMapPosTop: {
1233
+ type: NumberConstructor;
1234
+ default: number;
1235
+ };
1236
+ switchMapPosLeftOrRight: {
1237
+ type: NumberConstructor;
1238
+ default: number;
1239
+ };
1240
+ isSwitchMapRight: {
1241
+ type: BooleanConstructor;
1242
+ default: boolean;
1243
+ };
1244
+ switchMapHeight: {
1245
+ type: NumberConstructor;
1246
+ default: number;
1247
+ };
1248
+ isShowRangingTool: {
1249
+ type: BooleanConstructor;
1250
+ default: boolean;
1251
+ };
1252
+ isShowDrawTool: {
1253
+ type: BooleanConstructor;
1254
+ default: boolean;
1255
+ };
1256
+ isRight: {
1257
+ type: BooleanConstructor;
1258
+ default: boolean;
1259
+ };
1260
+ isCrossHair: {
1261
+ type: BooleanConstructor;
1262
+ default: boolean;
1263
+ };
1264
+ isCrossHairCreateDarw: {
1265
+ type: BooleanConstructor;
1266
+ default: boolean;
1267
+ };
1268
+ initModifyPolygon: {
1269
+ type: (ObjectConstructor | StringConstructor)[];
1270
+ default: () => null;
1271
+ };
1272
+ hideAdd: {
1273
+ type: BooleanConstructor;
1274
+ default: boolean;
1275
+ };
1276
+ hidePoint: {
1277
+ type: BooleanConstructor;
1278
+ default: boolean;
1279
+ };
1280
+ hideCancel: {
1281
+ type: BooleanConstructor;
1282
+ default: boolean;
1283
+ };
1284
+ hideDelete: {
1285
+ type: BooleanConstructor;
1286
+ default: boolean;
1287
+ };
1288
+ hideSave: {
1289
+ type: BooleanConstructor;
1290
+ default: boolean;
1291
+ };
1292
+ hideLine: {
1293
+ type: BooleanConstructor;
1294
+ default: boolean;
1295
+ };
1296
+ hideArea: {
1297
+ type: BooleanConstructor;
1298
+ default: boolean;
1299
+ };
1300
+ isSwitchMap: {
1301
+ type: BooleanConstructor;
1302
+ default: boolean;
1303
+ };
1304
+ gpsType: {
1305
+ type: NumberConstructor;
1306
+ default: number;
1307
+ };
1308
+ drawZIndex: {
1309
+ type: NumberConstructor;
1310
+ default: number;
1311
+ };
1312
+ }>> & Readonly<{
1313
+ onLoadDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
1314
+ onCrossHairClick?: ((...args: any[]) => any) | undefined;
1315
+ onError?: ((...args: any[]) => any) | undefined;
1316
+ onSuccess?: ((...args: any[]) => any) | undefined;
1317
+ onDrawLineEvent?: ((...args: any[]) => any) | undefined;
1318
+ onDrawPolygonEvent?: ((...args: any[]) => any) | undefined;
1319
+ }>, "isSwitchMapRight" | "lMap" | "isHideAreaAndKM" | "switchMapPosTop" | "switchMapPosLeftOrRight" | "switchMapHeight" | "isShowRangingTool" | "isShowDrawTool" | "isRight" | "isCrossHair" | "isCrossHairCreateDarw" | "initModifyPolygon" | "hideAdd" | "hidePoint" | "hideCancel" | "hideDelete" | "hideSave" | "hideLine" | "hideArea" | "isSwitchMap" | "gpsType" | "drawZIndex"> & {} & ComponentCustomProperties & {} & {
1320
+ $slots: {
1321
+ default?(_: {}): any;
1322
+ default?(_: {}): any;
1323
+ default?(_: {}): any;
1324
+ default?(_: {}): any;
1325
+ };
1326
+ }) | null;
1327
+ }, HTMLDivElement>;
1328
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1329
+ export default _default;
1330
+ type __VLS_WithTemplateSlots<T, S> = T & {
1331
+ new (): {
1332
+ $slots: S;
1333
+ };
1334
+ };